new InterleavedBufferAttribute(interleavedBuffer, size, offset, normalizedopt)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
interleavedBuffer |
zen3d.InterleavedBuffer | |||
size |
Integer | |||
offset |
Integer | |||
normalized |
boolean |
<optional> |
false |
Members
(readonly) array :TypedArray
The value of data.array.
Type:
- TypedArray
(readonly) count :Integer
The value of 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.
Type:
- Integer
data :zen3d.InterleavedBuffer
The InterleavedBuffer instance passed in the constructor.
Type:
(readonly) isInterleavedBufferAttribute :boolean
Type:
- boolean
- Default Value:
- true
- Source:
normalized :boolean
Type:
- boolean
- Default Value:
- false
- Source:
offset :Integer
The offset in the underlying array buffer where an item starts.
Type:
- Integer
size :Integer
How many values make up each item.
Type:
- Integer