Class BooleanPropertyConfig
Describes a boolean configuration property.
Inheritance
BooleanPropertyConfig
Inherited Members
Namespace: SharpAssimp.Configs
Assembly: SharpAssimp.dll
Syntax
public class BooleanPropertyConfig : PropertyConfig
Constructors
| Edit this page View SourceBooleanPropertyConfig(string, bool)
Constructs a new BooleanPropertyConfig.
Declaration
public BooleanPropertyConfig(string name, bool value)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the property |
bool | value | Property value |
BooleanPropertyConfig(string, bool, bool)
Constructs a new BooleanPropertyConfig with a default value.
Declaration
public BooleanPropertyConfig(string name, bool value, bool defaultValue)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the property |
bool | value | Property value |
bool | defaultValue | The default property value |
Properties
| Edit this page View SourceDefaultValue
Gets the default property value.
Declaration
public bool DefaultValue { get; }
Property Value
Type | Description |
---|---|
bool |
Value
Gets the property value.
Declaration
public bool Value { get; set; }
Property Value
Type | Description |
---|---|
bool |
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()