Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MeshGeometryAttribute

Represents an attribute for mesh geometry.

Hierarchy

  • MeshGeometryAttribute

Index

Properties

buffer

buffer: Float32Array | Uint8Array | Uint32Array | Int8Array | Int16Array | Uint16Array

The buffer data.

Optional componentCount

componentCount?: number

The number of elements in this attribute.

Optional componentType

componentType?: number

The datatype of components in this attribute.

Optional max

max?: number[]

The maximum value of each component in this attribute.

Optional min

min?: number[]

The minimum value of each component in this attribute.

normalized

normalized: boolean

Is buffer data normalized in this attribute.

Optional stride

stride?: number

The stride, in bytes, between attributes. When this is not defined, data is tightly packed. When two or more attributes use the same buffer, this field must be defined.

Generated using TypeDoc