Class InstancedBufferGeometry

Hierarchy

Constructors

Properties

attributes: {
    [name: string]: BufferAttribute | InterleavedBufferAttribute;
}

Default

Type declaration

boundingBox: Box3

Default

null

boundingSphere: Sphere

Default

null

drawRange: {
    count: number;
    start: number;
}

Default

Type declaration

  • count: number
  • start: number
drawcalls: any

Deprecated

Use .groups instead.

groups: {
    count: number;
    materialIndex?: number;
    start: number;
}[]

Default

[]

id: number

Unique number of this buffergeometry instance

Default

null

instanceCount: number

Default

Infinity

isBufferGeometry: true
isInstancedBufferGeometry: boolean
morphAttributes: {
    [name: string]: (BufferAttribute | InterleavedBufferAttribute)[];
}

Default

Type declaration

morphTargetsRelative: boolean

Default

false

name: string

Default

''

offsets: any

Deprecated

Use .groups instead.

type: string

Default

'InstancedBufferGeometry

userData: {
    [key: string]: any;
}

Default

Type declaration

  • [key: string]: any
uuid: string

Methods

  • Deprecated

    Use .addGroup() instead.

    Parameters

    • start: any
    • count: any
    • Optional indexOffset: any

    Returns void

  • Parameters

    • start: number
    • count: number
    • Optional materialIndex: number

    Returns void

  • Deprecated

    Use .setIndex() instead.

    Parameters

    • index: any

    Returns void

  • Returns void

  • Computes bounding box of the geometry, updating Geometry.boundingBox attribute. Bounding boxes aren't computed by default. They need to be explicitly computed, otherwise they are null.

    Returns void

  • Computes bounding sphere of the geometry, updating Geometry.boundingSphere attribute. Bounding spheres aren't' computed by default. They need to be explicitly computed, otherwise they are null.

    Returns void

  • Computes and adds tangent attribute to this geometry.

    Returns void

  • Computes vertex normals by averaging face normals.

    Returns void

  • Fire an event type.

    Parameters

    Returns void

  • Disposes the object from memory. You need to call this when you want the bufferGeometry removed while the application is running.

    Returns void

  • Returns void

  • Parameters

    • start: number
    • count: number

    Returns void

  • Returns any

Generated using TypeDoc