Class StringPropertyConfig
Describes a string configuration property.
Inheritance
StringPropertyConfig
Inherited Members
Namespace: SharpAssimp.Configs
Assembly: SharpAssimp.dll
Syntax
public class StringPropertyConfig : PropertyConfig
Constructors
| Edit this page View SourceStringPropertyConfig(string, string)
Constructs a new StringPropertyConfig.
Declaration
public StringPropertyConfig(string name, string value)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the property |
string | value | Property value |
StringPropertyConfig(string, string, string)
Constructs a new StringPropertyConfig with a default value.
Declaration
public StringPropertyConfig(string name, string value, string defaultValue)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the property |
string | value | Property value |
string | defaultValue | The default property value |
Properties
| Edit this page View SourceDefaultValue
Gets the default property value.
Declaration
public string DefaultValue { get; }
Property Value
Type | Description |
---|---|
string |
Value
Gets the property value.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
string |
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 SourceProcessNames(string[])
Convience method for constructing a whitespace delimited name list.
Declaration
protected static string ProcessNames(string[] names)
Parameters
Type | Name | Description |
---|---|---|
string[] | names | Array of names |
Returns
Type | Description |
---|---|
string | White-space delimited list as a string |
SetDefaultValue()
Sets the current value to the default value.
Declaration
public override void SetDefaultValue()