BasicTransform
Lens Studio v2.2+
Inherits from ScriptObject
Description
Provides basic information about a transformation. See also: DeviceTracking
Methods
getInvertedMatrix()
: mat4
Returns the inverted world matrix of the BasicTransform.
getMatrix()
: mat4
Returns the world matrix of the BasicTransform.
getPosition()
: vec3
Returns the world position of the BasicTransform.
getRotation()
: quat
Returns the world rotation of the BasicTransform.
getScale()
: vec3
Returns the world scale of the BasicTransform.
Inherited Methods
getTypeName()
: String
Returns the name of this object’s type.
isOfType(String type)
: Boolean
Returns true if the object matches or derives from the passed in type.
Still Looking for help?
Visit Support