Class IntegerPropertyConfig
Describes an integer configuration property.
Inheritance
IntegerPropertyConfig
Inherited Members
Namespace: SharpAssimp.Configs
Assembly: SharpAssimp.dll
Syntax
public class IntegerPropertyConfig : PropertyConfig
Constructors
| Edit this page View SourceIntegerPropertyConfig(string, int)
Constructs a new IntengerPropertyConfig.
Declaration
public IntegerPropertyConfig(string name, int value)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the property |
int | value | Property value |
IntegerPropertyConfig(string, int, int)
constructs a new IntegerPropertyConfig with a default value.
Declaration
public IntegerPropertyConfig(string name, int value, int defaultValue)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the property |
int | value | Property value |
int | defaultValue | The default property value |
Properties
| Edit this page View SourceDefaultValue
Gets the default property value.
Declaration
public int DefaultValue { get; }
Property Value
Type | Description |
---|---|
int |
Value
Gets the property value.
Declaration
public int Value { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceOnApplyValue(nint)
Applies the property value to the given Assimp property store.
Declaration
protected override void OnApplyValue(nint propStore)
Parameters
Type | Name | Description |
---|---|---|
nint | propStore | Assimp property store |
Overrides
| Edit this page View SourceSetDefaultValue()
Sets the current value to the default value.
Declaration
public override void SetDefaultValue()