Capítulo 664 de 859

Chapter 664: InstancedBufferAttribute

Core Idea

An instanced version of a buffer attribute.

Key Concepts

  • isInstancedBufferAttribute : boolean (readonly): This flag can be used for type testing.
  • 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 u…

Reference Tables

Constructor

Signature
new InstancedBufferAttribute( array : TypedArray, itemSize : number, normalized : boolean, meshPerAttribute : number )

Properties

PropertyDescription
.isInstancedBufferAttribute : boolean (readonly)This flag can be used for type testing.
.meshPerAttribute : numberDefines 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 va…

Key Takeaways

  1. InstancedBufferAttribute extends: BufferAttribute
  2. Most relevant properties: isInstancedBufferAttribute, meshPerAttribute.

Connects To