Skip to main content

TelemetryVariable

Defined in: telemetry.gen.ts:8

A variable representing telemetry data from the iRacing SDK.

Type Parameters​

Type Parametertheme_default_type
VarTypenumber[]

Properties​

countAsTime​

countAsTime: boolean

Defined in: telemetry.gen.ts:16

Should it be treated as a time?


description​

description: string

Defined in: telemetry.gen.ts:12

The description.


length​

length: number

Defined in: telemetry.gen.ts:18

The number of values provided.


name​

name: string

Defined in: telemetry.gen.ts:10

The name of the variable.


unit​

unit: string

Defined in: telemetry.gen.ts:14

The unit of the value (ex. "kg/m^2")


value​

value: VarType

Defined in: telemetry.gen.ts:22

The current value of this variable.


varType​

varType: number

Defined in: telemetry.gen.ts:20

The native variable type