/ fm / liveswitch / FloatHolder
Class: FloatHolder
fm.liveswitch.FloatHolder
Class to hold a float value passed by reference.
Table of contents
Constructors
Methods
Constructors
constructor
+ new FloatHolder(): FloatHolder
Initializes a new instance of the [[fm.liveswitch.floatHolder]] class.
Returns: FloatHolder
Defined in: Generated/TypeScript/fm.liveswitch/FloatHolder.ts:18
+ new FloatHolder(value
: number): FloatHolder
Initializes a new instance of the [[fm.liveswitch.floatHolder]] class.
Parameters:
Name | Type | Description |
---|---|---|
value |
number | The value. |
Returns: FloatHolder
Defined in: Generated/TypeScript/fm.liveswitch/FloatHolder.ts:24
Methods
fmliveswitchFloatHolderInit
▸ Private
fmliveswitchFloatHolderInit(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/FloatHolder.ts:15
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/FloatHolder.ts:9
getValue
▸ getValue(): number
Gets the value.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/FloatHolder.ts:54
setValue
▸ setValue(value
: number): void
Sets the value.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/FloatHolder.ts:66