Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Base3DHandler

Implemented by

Index

Methods

  • flipZ(enable: boolean): void
  • getCenterZInScene(): number
  • getDepth(): number
  • getRotationX(): number
  • getRotationY(): number
  • getScaleZ(): number
  • getUnrotatedAABBMaxZ(): number
  • getUnrotatedAABBMinZ(): number
  • getZ(): number
  • isFlippedZ(): boolean
  • setCenterZInScene(z: number): void
  • Change the object center Z position in the scene.

    Parameters

    • z: number

      The new Z position of the center in the scene.

    Returns void

  • setDepth(depth: number): void
  • setRotationX(angle: number): void
  • Set the object rotation on the X axis.

    This is an Euler angle. Objects use the ZYX order.

    Parameters

    • angle: number

      the rotation angle on the X axis in degree

    Returns void

  • setRotationY(angle: number): void
  • Set the object rotation on the Y axis.

    This is an Euler angle. Objects use the ZYX order.

    Parameters

    • angle: number

      the rotation angle on the Y axis in degree

    Returns void

  • setScaleZ(newScale: number): void
  • Change the scale on Z axis of the object (changing its depth).

    Parameters

    • newScale: number

      The new scale (must be greater than 0).

    Returns void

  • setZ(z: number): void
  • turnAroundX(deltaAngle: number): void
  • Turn the object around the scene X axis at its center.

    Parameters

    • deltaAngle: number

      the rotation angle in degree

    Returns void

  • turnAroundY(deltaAngle: number): void
  • Turn the object around the scene Y axis at its center.

    Parameters

    • deltaAngle: number

      the rotation angle in degree

    Returns void

  • turnAroundZ(deltaAngle: number): void
  • Turn the object around the scene Z axis at its center.

    Parameters

    • deltaAngle: number

      the rotation angle in degree

    Returns void

Generated using TypeDoc