Lua API
On this page

Frame

Inherits from

Frames represent a specific position within a landblock. This includes a local offset, and an orientation.

Fields:

Orientation Quaternion

read only

Frame orientation

Origin Vector3

Frame origin

Constructors:

New() :

New(origin: Vector3, orientation: Quaternion) :

Parameters:
NameTypeDefaultSummary
originVector3
orientationQuaternion

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string