Skip to content

Class BlockModelObject

🏭 Constructors

constructor

ts
new BlockModelObject(): BlockModelObject

This creates a new [Object3D] object.

Return Type

  • BlockModelObject

Inherited from: Object3D.constructor

Defined in: node_modules/.pnpm/@types+three@0.150.1/node_modules/@types/three/src/core/Object3D.d.ts:28

🏷️ Properties

animationLoop

ts
animationLoop: boolean = false

Defined in: packages/model/block.ts:88

displayOption

ts
displayOption: Display = DEFAULT_DISPLAY

Defined in: packages/model/block.ts:89

🔧 Methods

applyDisplay

ts
applyDisplay(option: string): void

Parameters

  • option: string

Return Type

  • void

Defined in: packages/model/block.ts:91

getCenter

ts
getCenter(): Vector3

Return Type

  • Vector3

Defined in: packages/model/block.ts:117