Class RenderPropertyAsFInput
Render Property As Float Input attribute.
Inherited Members
Namespace: Evergine.Common.Attributes
Assembly: Evergine.Common.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public class RenderPropertyAsFInput : RenderProperty
Constructors
RenderPropertyAsFInput()
Initializes a new instance of the RenderPropertyAsFInput class.
Declaration
public RenderPropertyAsFInput()
RenderPropertyAsFInput(float)
Initializes a new instance of the RenderPropertyAsFInput class.
Declaration
public RenderPropertyAsFInput(float minLimit)
Parameters
Type | Name | Description |
---|---|---|
float | minLimit | Minimum value (Default float.MinValue). |
RenderPropertyAsFInput(float, float)
Initializes a new instance of the RenderPropertyAsFInput class.
Declaration
public RenderPropertyAsFInput(float minLimit, float maxLimit)
Parameters
Type | Name | Description |
---|---|---|
float | minLimit | Minimum value (Default float.MinValue). |
float | maxLimit | Maximum value (Default float.MaxValue). |
RenderPropertyAsFInput(Type)
Initializes a new instance of the RenderPropertyAsFInput class.
Declaration
public RenderPropertyAsFInput(Type converterType)
Parameters
Type | Name | Description |
---|---|---|
Type | converterType | the data converter type. |
RenderPropertyAsFInput(Type, float)
Initializes a new instance of the RenderPropertyAsFInput class.
Declaration
public RenderPropertyAsFInput(Type converterType, float minLimit)
Parameters
Type | Name | Description |
---|---|---|
Type | converterType | the data converter type. |
float | minLimit | Minimum value (Default float.MinValue). |
RenderPropertyAsFInput(Type, float, float)
Initializes a new instance of the RenderPropertyAsFInput class.
Declaration
public RenderPropertyAsFInput(Type converterType, float minLimit, float maxLimit)
Parameters
Type | Name | Description |
---|---|---|
Type | converterType | the data converter type. |
float | minLimit | Minimum value (Default float.MinValue). |
float | maxLimit | Maximum value (Default float.MaxValue). |
RenderPropertyAsFInput(Type, float, float, float)
Initializes a new instance of the RenderPropertyAsFInput class.
Declaration
public RenderPropertyAsFInput(Type converterType, float minLimit, float maxLimit, float defaultValue)
Parameters
Type | Name | Description |
---|---|---|
Type | converterType | the data converter type. |
float | minLimit | Minimum value (Default float.MinValue). |
float | maxLimit | Maximum value (Default float.MaxValue). |
float | defaultValue | default value (Default null). |
Fields
AsSlider
Show the property as slider.
Declaration
public bool AsSlider
Field Value
Type | Description |
---|---|
bool |
DesiredChange
The desired value change. Zero for default behavior.
Declaration
public float DesiredChange
Field Value
Type | Description |
---|---|
float |
DesiredLargeChange
The desired value large change. Zero for default behavior.
Declaration
public float DesiredLargeChange
Field Value
Type | Description |
---|---|
float |
MaxLimit
Maximum value.
Declaration
public float MaxLimit
Field Value
Type | Description |
---|---|
float |
MinLimit
Minimun value.
Declaration
public float MinLimit
Field Value
Type | Description |
---|---|
float |