[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]( [param:Integer index] )
Returns the x component of the item at the given index.
[method:Number getY]( [param:Integer index] )
Returns the y component of the item at the given index.
[method:Number getZ]( [param:Integer index] )
Returns the z component of the item at the given index.
[method:Number getW]( [param:Integer index] )
Returns the w component of the item at the given index.
[method:null setX]( [param:Integer index], [param:Float x] )
Sets the x component of the item at the given index.
[method:null setY]( [param:Integer index], [param:Float y] )
Sets the y component of the item at the given index.
[method:null setZ]( [param:Integer index], [param:Float z] )
Sets the z component of the item at the given index.
[method:null setW]( [param:Integer index], [param:Float w] )
Sets the w component of the item at the given index.
[method:null setXY]( [param:Integer index], [param:Float x], [param:Float y] )
Sets the x and y components of the item at the given index.
[method:null setXYZ]( [param:Integer index], [param:Float x], [param:Float y], [param:Float z] )
Sets the x, y and z components of the item at the given index.
[method:null setXYZW]( [param:Integer index], [param:Float x], [param:Float y], [param:Float z], [param:Float 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]