Lens Scripting API

    Class BasicTransform

    Provides basic information about a transformation. See also: DeviceTracking

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Methods

    • Returns the inverted world matrix of the BasicTransform.

      Returns mat4

    • Returns the world matrix of the BasicTransform.

      Returns mat4

    • Returns the world position of the BasicTransform.

      Returns vec3

    • Returns the world rotation of the BasicTransform.

      Returns quat

    • Returns the world scale of the BasicTransform.

      Returns vec3

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean

    MMNEPVFCICPMFPCPTTAAATR