Skip to content

three-display-object.component overview


Table of contents


utils

ThreeDisplayObjectComponent (class)

Signature

export declare class ThreeDisplayObjectComponent {
  constructor(public nativeMesh: Object3D)
}

isEmpty (method)

Signature

public isEmpty(): boolean

popChild (method)

Signature

popChild(name: string): ThreeDisplayObjectComponent | null

getBoundings (method)

Signature

getBoundings(): GgBox3d

clone (method)

Signature

clone(): ThreeDisplayObjectComponent

addToWorld (method)

Signature

addToWorld(world: Gg3dWorld<ThreeVisualTypeDocRepo, PhysicsTypeDocRepo3D, ThreeSceneComponent>): void

removeFromWorld (method)

Signature

removeFromWorld(world: Gg3dWorld<ThreeVisualTypeDocRepo, PhysicsTypeDocRepo3D, ThreeSceneComponent>): void

dispose (method)

Signature

dispose(): void

disposeMesh (method)

Signature

private disposeMesh(mesh: Mesh)

entity (property)

Signature

entity: any