API Reference v10.1.0
TypedSettingenum with values
Module: ZaberMotionAscii
The value of a setting, which can be of various types.
To use this type, add import ZaberMotionAscii to the top of your source code.
This type is an enum with associated values. Use a switch statement or an if case statement to read the value, for example if case let .double(value) = typedSetting { ... }.
Member Types
t
Doublet
Int64t
Boolt
StringConstructors
TypedSetting.double(value)Creates a variant holding a value of type Double.
Arguments
| Name | Type | Description |
|---|---|---|
| value | Double | The value to store in the variant. |
TypedSetting.int64(value)Creates a variant holding a value of type Int64.
Arguments
| Name | Type | Description |
|---|---|---|
| value | Int64 | The value to store in the variant. |
TypedSetting.bool(value)Creates a variant holding a value of type Bool.
Arguments
| Name | Type | Description |
|---|---|---|
| value | Bool | The value to store in the variant. |
TypedSetting.string(value)Creates a variant holding a value of type String.
Arguments
| Name | Type | Description |
|---|---|---|
| value | String | The value to store in the variant. |