Function: GetRegisteredSimVarValue()
GetRegisteredSimVarValue(
regSimVarDef
):any
Defined in: src/sdk/data/SimVars.ts:202
Gets the value of a SimVar using a registered SimVar definition. This function is more performant than
SimVar.GetSimVarValue()
.
Parameters
Parameter | Type | Description |
---|---|---|
regSimVarDef | Readonly <RegisteredSimVarDefinition > | The registered SimVar definition describing the value to get. |
Returns
any
The value of the SimVar described by the specified registered SimVar definition, or null
if the value
could not be retrieved.