Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Euler

Serializable THREE.js Euler

Hierarchy

  • Euler
    • Euler

Index

Constructors

constructor

Properties

_onChangeCallback

_onChangeCallback: () => void

Type declaration

    • (): void
    • Returns void

Readonly isEuler

isEuler: true

order

order: string
default

THREE.Euler.DefaultOrder

x

x: number

y

y: number

z

z: number

Static DefaultOrder

DefaultOrder: string

Static RotationOrders

RotationOrders: string[]

Accessors

pitch

  • get pitch(): number

roll

  • get roll(): number

yaw

  • get yaw(): number

Methods

_onChange

  • _onChange(callback: () => void): Euler
  • Parameters

    • callback: () => void
        • (): void
        • Returns void

    Returns Euler

clone

copy

  • copy(euler: Euler): Euler
  • Parameters

    • euler: Euler

    Returns Euler

equals

  • equals(euler: Euler): boolean
  • Parameters

    • euler: Euler

    Returns boolean

fromArray

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

    • xyzo: any[]

    Returns Euler

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): Euler
  • Parameters

    • q: Quaternion
    • Optional order: string

    Returns Euler

setFromRotationMatrix

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

    • m: Matrix4
    • Optional order: string

    Returns Euler

setFromVector3

  • setFromVector3(v: Vector3, order?: string): Euler
  • Parameters

    • v: Vector3
    • Optional order: string

    Returns Euler

toArray

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

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

    Returns number[]

toRotationMatrix

toVector

toVector3

  • toVector3(optionalResult?: Vector3): Vector3
  • Parameters

    • Optional optionalResult: Vector3

    Returns Vector3

Static fromQuaternion

Static fromRotationMatrix