Lua API
On this page
Quaternion
Inherits from
TODO
Fields:
Identity Quaternion
staticread only
Constructors:
New() :
New(rotationX: number, rotationY: number, rotationZ: number, rotationW: number) :
Parameters:
Name | Type | Default | Summary |
rotationX | number | ||
rotationY | number | ||
rotationZ | number | ||
rotationW | number |
Methods:
Dot(a: Quaternion, b: Quaternion) : number
GetPropertyKeys() : string[]
Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts
Returns:string[]
Normalize(q: Quaternion) : Quaternion
ToString() : string
Returns a string that represents the current object.
Returns:string