Class RenderPropertyAsFInput
Renders the property as a 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 | The minimum value (default is float.MinValue). |
float | maxLimit | The maximum value (default is 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 is 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 is float.MinValue). |
float | maxLimit | Maximum value (default is 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
Shows the property as slider.
Declaration
public bool AsSlider
Field Value
Type | Description |
---|---|
bool |
DesiredChange
The desired value change. Zero for the default behavior.
Declaration
public float DesiredChange
Field Value
Type | Description |
---|---|
float |
DesiredLargeChange
The desired value for a 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
Minimum value.
Declaration
public float MinLimit
Field Value
Type | Description |
---|---|
float |