HTML Encoding and Default Values⤴
<BufferAccessor
bufferType='""'
byteOffset='0'
byteStride='0'
components='0'
componentType='5126'
count='0'
metadata='X3DMetadataObject'
normalized='false'
view='0'
></BufferAccessor>
Inheritance⤴
- X3DNode(18)
- BufferAccessor
Constructor⤴
-
BufferAccessor(ctx)⤴
-
Constructor for BufferAccessor
Parameters:
Name Type Argument Default Description ctx
Object <optional>
null context object, containing initial settings like namespace
Fields⤴
These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via
DOM functions (i.e., using
setAttribute("myFieldName", "myFieldValue")
and
getAttribute("myFieldName")
).
Name | Type | Default Value | Range | Inheritance | Standard | Description |
---|---|---|---|---|---|---|
bufferType | SFString | "" | The target vertex attribute or vertex index | |||
byteOffset | SFInt32 | 0 | The buffer byteOffset | |||
byteStride | SFInt32 | 0 | The buffer byteStride | |||
components | SFInt32 | 0 | The buffer components | |||
componentType | SFInt32 | 5126 | The buffer componentType | |||
count | SFInt32 | 0 | The buffer element count | |||
metadata | SFNode | X3DMetadataObject | X3DNode | Field to add metadata information | ||
normalized | SFInt32 | false | Attribute normalization | |||
view | SFInt32 | 0 | The related buffer view |