Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TranslationRotationScale

Hierarchy

  • TranslationRotationScale
    • TranslationRotationScale

Index

Constructors

Properties

Methods

Constructors

constructor

  • new TranslationRotationScale(translation?: Cartesian3, rotation?: Quaternion, scale?: Cartesian3): TranslationRotationScale
  • Parameters

    • Optional translation: Cartesian3
    • Optional rotation: Quaternion
    • Optional scale: Cartesian3

    Returns TranslationRotationScale

Properties

rotation

rotation: Quaternion

Gets or sets the (x, y, z, w) rotation to apply to the node.

scale

scale: Cartesian3

Gets or sets the (x, y, z) scaling to apply to the node.

translation

translation: Cartesian3

Gets or sets the (x, y, z) translation to apply to the node.

Methods

equals

  • equals(right?: TranslationRotationScale): boolean
  • Compares this instance against the provided instance and returns true if they are equal, false otherwise.

    Parameters

    • Optional right: TranslationRotationScale

    Returns boolean

    true if they are equal, false otherwise.