Class Euler

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(x?: number, y?: number, z?: number, order?: string): Euler

Parameters

  • x?: number optional
  • y?: number optional
  • z?: number optional
  • order?: string optional

Returns

Euler

Properties

public order: string

public x: number

public y: number

public z: number

Methods

public clone(): Euler

Returns

Euler

public copy(euler: Euler): Euler

Parameters

Returns

Euler

public equals(euler: Euler): boolean

Parameters

Returns

boolean

public fromArray(xyzo: Array<any>): Euler

Parameters

  • xyzo: Array<any>

Returns

Euler

public reorder(newOrder: string): Euler

Parameters

  • newOrder: string

Returns

Euler

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

Parameters

  • x: number
  • y: number
  • z: number
  • order?: string optional

Returns

Euler

public setFromQuaternion(q: Quaternion, order: string): Euler

Parameters

Returns

Euler

public setFromRotationMatrix(m: Matrix4, order: string): Euler

Parameters

Returns

Euler

public toArray(): Array<any>

Returns

Array<any>