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