Skip to main content

BufferAttribute

InstancedBufferAttribute

An instanced version of BufferAttribute.

Constructor

InstancedBufferAttribute

function InstancedBufferAttribute( array: TypedArray, itemSize: Integer,
normalized: Boolean, meshPerAttribute: Number ): void;

Properties

See BufferAttribute for inherited properties.

meshPerAttribute

meshPerAttribute: Number;  

Defines how often a value of this buffer attribute should be repeated. A value of one means that each value of the instanced attribute is used for a single instance. A value of two means that each value is used for two consecutive instances (and so on). Default is 1.

Methods

See BufferAttribute for inherited methods.

Source

src/core/InstancedBufferAttribute.js