Represents a scene in a 3D environment.

Hierarchy (View Summary)

Constructors

Properties

modelMatrix: mat4 = ...

Accessors

Methods

  • Swaps the position of two child objects at the specified indices.

    Parameters

    • index1: number

      The index of the first child object.

    • index2: number

      The index of the second child object.

    Returns void

    • If either index1 or index2 is out of range.