Photon Quantum 3.0.0

Public Member Functions | Public Attributes | Properties | List of all members
Quantum.RangeExAttribute Class Reference

Represents an attribute that specifies a range of values for a field or property. More...

Inheritance diagram for Quantum.RangeExAttribute:
Quantum.DrawerPropertyAttribute Quantum.PropertyAttribute

Public Member Functions

 RangeExAttribute (double min, double max)
 Initializes a new instance of the RangeExAttribute class with the specified minimum and maximum values. More...
 

Public Attributes

bool ClampMax = true
 Gets or sets a value indicating whether the maximum value should be clamped. More...
 
bool ClampMin = true
 Gets or sets a value indicating whether the minimum value should be clamped. More...
 
bool UseSlider = true
 Gets or sets a value indicating whether a slider should be used for the range. More...
 

Properties

double Max [get]
 Gets the maximum value of the range. More...
 
double Min [get]
 Gets the minimum value of the range. More...
 

Detailed Description

Represents an attribute that specifies a range of values for a field or property.

Constructor & Destructor Documentation

◆ RangeExAttribute()

Quantum.RangeExAttribute.RangeExAttribute ( double  min,
double  max 
)
inline

Initializes a new instance of the RangeExAttribute class with the specified minimum and maximum values.

Parameters
minThe minimum value of the range.
maxThe maximum value of the range.

Member Data Documentation

◆ ClampMin

bool Quantum.RangeExAttribute.ClampMin = true

Gets or sets a value indicating whether the minimum value should be clamped.

◆ ClampMax

bool Quantum.RangeExAttribute.ClampMax = true

Gets or sets a value indicating whether the maximum value should be clamped.

◆ UseSlider

bool Quantum.RangeExAttribute.UseSlider = true

Gets or sets a value indicating whether a slider should be used for the range.

Property Documentation

◆ Max

double Quantum.RangeExAttribute.Max
get

Gets the maximum value of the range.

◆ Min

double Quantum.RangeExAttribute.Min
get

Gets the minimum value of the range.