Class: InterleavedBufferAttribute

zen3d.InterleavedBufferAttribute(interleavedBuffer, size, offset, normalizedopt)

new InterleavedBufferAttribute(interleavedBuffer, size, offset, normalizedopt)

Parameters:
Name Type Attributes Default Description
interleavedBuffer zen3d.InterleavedBuffer
size Integer
offset Integer
normalized boolean <optional>
false
Source:

Members

(readonly) array :TypedArray

The value of data.array.
Type:
  • TypedArray
Source:

(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
Source:

data :zen3d.InterleavedBuffer

The InterleavedBuffer instance passed in the constructor.
Type:
Source:

(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
Source:

size :Integer

How many values make up each item.
Type:
  • Integer
Source: