Type Parameters

Hierarchy

  • InstancedMesh<G>
    • InstancedMesh

Constructors

Properties

$$instanceOf: InstancedMesh<G, BufferGeometry> = null
color: number
disableUpdateRequest: boolean = false
index2id: Map<number, number> = ...
indexTrash: any[] = []

item which was deleted will be placed here firtly, and then may be reused later.

instanceIndex: number = -1
instances: Set<InstancedMeshInstanceExports<S>> = ...
instancesIndex: Map<number, InstancedMeshInstanceExports<S>> = ...
isInstancedMeshInstance: boolean = false
model: S
removedTotal: number = 0
total: number = 0
uniformColor: number = 0xffffff

uniform color is the color set initially, and will not change over time.

freezeAttrs: {
    configurable: boolean;
    enumerable: boolean;
    writable: boolean;
} = ...

Type declaration

  • configurable: boolean
  • enumerable: boolean
  • writable: boolean

Methods

  • As the instancedMesh (including many instances), delete item with specified id.

    Parameters

    • id: number

    Returns void

Generated using TypeDoc