Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Euler

Index

Constructors

constructor

  • new Euler(x?: number, y?: number, z?: number, order?: string): Euler
  • Parameters

    • Optional x: number
    • Optional y: number
    • Optional z: number
    • Optional order: string

    Returns Euler

Properties

onChangeCallback

onChangeCallback: Function

order

order: string

x

x: number

y

y: number

z

z: number

Static DefaultOrder

DefaultOrder: string

Static RotationOrders

RotationOrders: string[]

Methods

clone

  • clone(): this
  • Returns this

copy

  • copy(euler: this): this
  • Parameters

    • euler: this

    Returns this

equals

  • equals(euler: Euler): boolean
  • Parameters

    Returns boolean

fromArray

  • fromArray(xyzo: any[]): Euler
  • Parameters

    • xyzo: any[]

    Returns Euler

onChange

  • onChange(callback: Function): void
  • Parameters

    • callback: Function

    Returns void

reorder

  • reorder(newOrder: string): Euler
  • Parameters

    • newOrder: string

    Returns Euler

set

  • set(x: number, y: number, z: number, order?: string): Euler
  • Parameters

    • x: number
    • y: number
    • z: number
    • Optional order: string

    Returns Euler

setFromQuaternion

  • setFromQuaternion(q: Quaternion, order?: string, update?: boolean): Euler
  • Parameters

    • q: Quaternion
    • Optional order: string
    • Optional update: boolean

    Returns Euler

setFromRotationMatrix

  • setFromRotationMatrix(m: Matrix4, order?: string, update?: boolean): Euler
  • Parameters

    • m: Matrix4
    • Optional order: string
    • Optional update: boolean

    Returns Euler

setFromVector3

  • Parameters

    • v: Vector3
    • Optional order: string

    Returns Euler

toArray

  • toArray(array?: number[], offset?: number): number[]
  • Parameters

    • Optional array: number[]
    • Optional offset: number

    Returns number[]

toVector3

  • Parameters

    Returns Vector3

Generated using TypeDoc