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