[name]

Constructor

[name]( [param:InterleavedBuffer interleavedBuffer], [param:Integer itemSize], [param:Integer offset], [param:Boolean normalized] )

Properties

[property:InterleavedBuffer data]

The [page:InterleavedBuffer InterleavedBuffer] instance passed in the constructor.

[property:TypedArray array]

The value of [page:InterleavedBufferAttribute.data data].array.

[property:Integer count]

The value of [page:InterleavedBufferAttribute.data data].count. If the buffer is storing a 3-component item (such as a position, normal, or color), then this will count the number of such items stored.

[property:Integer itemSize]

How many values make up each item.

[property:Integer offset]

The offset in the underlying array buffer where an item starts.

[property:Boolean normalized]

Default is *true*.

[property:Boolean isInterleavedBufferAttribute]

Default is *true*.

Methods

[method:Number getX]( index )

Returns the x component of the item at the given index.

[method:Number getY]( index )

Returns the y component of the item at the given index.

[method:Number getZ]( index )

Returns the z component of the item at the given index.

[method:Number getW]( index )

Returns the w component of the item at the given index.

[method:null setX]( index, x )

Sets the x component of the item at the given index.

[method:null setY]( index, y )

Sets the y component of the item at the given index.

[method:null setZ]( index, z )

Sets the z component of the item at the given index.

[method:null setW]( index, w )

Sets the w component of the item at the given index.

[method:null setXY]( index, x, y )

Sets the x and y components of the item at the given index.

[method:null setXYZ]( index, x, y, z )

Sets the x, y and z components of the item at the given index.

[method:null setXYZW]( index, x, y, z, w )

Sets the x, y, z and w components of the item at the given index.

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]