API reference
Preparing search index…

VariantVector2

Two-component Rml::Vector2f value; components round to native float.

interface VariantVector2 {
    type?: undefined;
    x: number;
    y: number;
}
Type hierarchy

Hierarchy (View Summary)

Source & inheritance
Member directory3

Properties

Properties

type?: undefined

Floating vectors are untagged, keeping integer destinations distinct.

Source & inheritance
x: number

X component.

Source & inheritance
y: number

Y component.

Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0