Vector4
structnative
Properties 4
| Name | Type | Flags |
|---|---|---|
W | Float | overridingpersistent |
X | Float | overridingpersistent |
Y | Float | overridingpersistent |
Z | Float | overridingpersistent |
Methods 35
static native func FromHeading(heading: Float) -> Vector4
static native func Heading(dir: Vector4) -> Float
static native func IsXYZZero(self: Vector4) -> Bool
static native func IsZero(self: Vector4) -> Bool
static native func Length(a: Vector4) -> Float
static native func Length2D(a: Vector4) -> Float
static native func LengthSquared(a: Vector4) -> Float
static native func ProjectPointToPlane(p1: Vector4, p2: Vector4, p3: Vector4, toProject: Vector4) -> Vector4
static native func Rand() -> Vector4
static native func Rand2D() -> Vector4
static native func ToRotation(dir: Vector4) -> EulerAngles
static native func Zero(out self: Vector4)