PointSignal


The PointSignal class monitors a 3D coordinate.

Properties

PropertyDescription

x

(get) x: ScalarSignal (set) (Not Available)

Represents the X coordinate of the point.

y

(get) y: ScalarSignal (set) (Not Available)

Represents the Y coordinate of the point.

z

(get) z: ScalarSignal (set) (Not Available)

Represents the Z coordinate of the point.

Methods

MethodDescription

expSmooth

expSmooth(dampFactor: number): PointSignal

Smoothes a variable signal using exponential averaging over time. The argument specifies the dampening time constant in milliseconds.

Note: See also ReactiveModule.expSmooth.

valueOf (inherited from ISignal)

valueOf(): void

Throws an error. Signals are not supposed to be implicitly converted to scalar values.

See also: ScalarSignal.add, ScalarSignal.sub, ScalarSignal.mul, ScalarSignal.div