![]() |
Paradox Game Engine
v1.0.0 beta06
|
This attribute allows to define boundaries for a numeric property, and advice small and large increment values for the user interface. More...
Public Member Functions | |
StepRangeAttribute (double minimum, double maximum) | |
Initializes a new instance of the StepRangeAttribute using double values. More... | |
StepRangeAttribute (double minimum, double maximum, double smallStep, double largeStep) | |
Initializes a new instance of the StepRangeAttribute using double values. More... | |
Properties | |
object | Minimum [get, set] |
Gets or sets the minimum accepted value for the associated property. More... | |
object | Maximum [get, set] |
Gets or sets the maximum accepted value for the associated property. More... | |
object | SmallStep [get, set] |
Gets or sets the adviced increment value in case of a small change for the associated property. More... | |
object | LargeStep [get, set] |
Gets or sets the adviced increment value in case of a large change for the associated property. More... | |
This attribute allows to define boundaries for a numeric property, and advice small and large increment values for the user interface.
Definition at line 11 of file StepRangeAttribute.cs.
SiliconStudio.Assets.StepRangeAttribute.StepRangeAttribute | ( | double | minimum, |
double | maximum | ||
) |
Initializes a new instance of the StepRangeAttribute using double values.
minimum | The minimum accepted value for the associated property. |
maximum | The maximum accepted value for the associated property. |
Definition at line 18 of file StepRangeAttribute.cs.
SiliconStudio.Assets.StepRangeAttribute.StepRangeAttribute | ( | double | minimum, |
double | maximum, | ||
double | smallStep, | ||
double | largeStep | ||
) |
Initializes a new instance of the StepRangeAttribute using double values.
minimum | The minimum accepted value for the associated property. |
maximum | The maximum accepted value for the associated property. |
smallStep | The adviced increment value in case of a small change for the associated property. |
largeStep | The adviced increment value in case of a large change for the associated property. |
Definition at line 31 of file StepRangeAttribute.cs.
|
getset |
Gets or sets the adviced increment value in case of a large change for the associated property.
Definition at line 57 of file StepRangeAttribute.cs.
|
getset |
Gets or sets the maximum accepted value for the associated property.
Definition at line 47 of file StepRangeAttribute.cs.
|
getset |
Gets or sets the minimum accepted value for the associated property.
Definition at line 42 of file StepRangeAttribute.cs.
|
getset |
Gets or sets the adviced increment value in case of a small change for the associated property.
Definition at line 52 of file StepRangeAttribute.cs.