Photon Fusion 2.0.3

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

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

Inherits DrawerPropertyAttribute.

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()

RangeExAttribute ( double  min,
double  max 
)

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

◆ ClampMax

bool ClampMax = true

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

◆ ClampMin

bool ClampMin = true

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

◆ UseSlider

bool UseSlider = true

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

Property Documentation

◆ Max

double Max
get

Gets the maximum value of the range.

◆ Min

double Min
get

Gets the minimum value of the range.