Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Assets.StepRangeAttribute Class Reference

This attribute allows to define boundaries for a numeric property, and advice small and large increment values for the user interface. More...

Inheritance diagram for SiliconStudio.Assets.StepRangeAttribute:

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

SiliconStudio.Assets.StepRangeAttribute.StepRangeAttribute ( double  minimum,
double  maximum 
)

Initializes a new instance of the StepRangeAttribute using double values.

Parameters
minimumThe minimum accepted value for the associated property.
maximumThe 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.

Parameters
minimumThe minimum accepted value for the associated property.
maximumThe maximum accepted value for the associated property.
smallStepThe adviced increment value in case of a small change for the associated property.
largeStepThe adviced increment value in case of a large change for the associated property.

Definition at line 31 of file StepRangeAttribute.cs.

Property Documentation

object SiliconStudio.Assets.StepRangeAttribute.LargeStep
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.

object SiliconStudio.Assets.StepRangeAttribute.Maximum
getset

Gets or sets the maximum accepted value for the associated property.

Definition at line 47 of file StepRangeAttribute.cs.

object SiliconStudio.Assets.StepRangeAttribute.Minimum
getset

Gets or sets the minimum accepted value for the associated property.

Definition at line 42 of file StepRangeAttribute.cs.

object SiliconStudio.Assets.StepRangeAttribute.SmallStep
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.


The documentation for this class was generated from the following file: