Options
All
• Public
• Public/Protected
• All

# Interface Base3DHandler

### Hierarchy

• Base3DHandler

## Methods

• flipZ(enable: boolean): void
• getCenterZInScene(): number
• getDepth(): number
• getRotationX(): number
• Get the object rotation on the X axis in degree.

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

#### Returns number

• getRotationY(): number
• Get the object rotation on the Y axis in degree.

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

#### Returns 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
• Set the object size on the Z axis (called "depth").

#### Returns 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
• Set the object position on the Z axis.

#### Returns 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