# [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:Boolean isInterleavedBufferAttribute]

Read-only flag to check if a given object is of type [name].

### [property:Integer itemSize]

How many values make up each item.

### [property:String name]

Optional name for this attribute instance. Default is an empty string.

### [property:Boolean needsUpdate]

Default is `false`. Setting this to `true` will send the entire interleaved buffer (not just the specific attribute data) to the GPU again.

### [property:Boolean normalized]

Default is `false`.

### [property:Integer offset]

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

## Methods

### [method:this applyMatrix4]( [param:Matrix4 m] )

Applies matrix [page:Matrix4 m] to every Vector3 element of this InterleavedBufferAttribute.

### [method:this applyNormalMatrix]( [param:Matrix3 m] )

Applies normal matrix [page:Matrix3 m] to every Vector3 element of this InterleavedBufferAttribute.

### [method:this transformDirection]( [param:Matrix4 m] )

Applies matrix [page:Matrix4 m] to every Vector3 element of this InterleavedBufferAttribute, interpreting the elements as a direction vectors.

### [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:this setX]( [param:Integer index], [param:Float x] )

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

### [method:this setY]( [param:Integer index], [param:Float y] )

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

### [method:this setZ]( [param:Integer index], [param:Float z] )

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

### [method:this setW]( [param:Integer index], [param:Float w] )

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

### [method:this setXY]( [param:Integer index], [param:Float x], [param:Float y] )

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

### [method:this 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:this 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]