Skip to main content

@novorender/api / RenderStateDynamicVertexAttributes

Interface: RenderStateDynamicVertexAttributes

Defined in: @novorender/src/core3d/state/dynamic.ts:111

Dynamic mesh vertex attributes state.

Properties

color0?

readonly optional color0: RenderStateDynamicVertexAttribute;

Defined in: @novorender/src/core3d/state/dynamic.ts:124

Vertex color.


normal?

readonly optional normal: RenderStateDynamicVertexAttribute;

Defined in: @novorender/src/core3d/state/dynamic.ts:116

Vertex normal.


position

readonly position: RenderStateDynamicVertexAttribute;

Defined in: @novorender/src/core3d/state/dynamic.ts:113

Vertex position.


tangent?

readonly optional tangent: RenderStateDynamicVertexAttribute;

Defined in: @novorender/src/core3d/state/dynamic.ts:121

Vertex tangent.

Remarks

Bi-tangent is computed from normal and tangent, if needed.


texCoord0?

readonly optional texCoord0: RenderStateDynamicVertexAttribute;

Defined in: @novorender/src/core3d/state/dynamic.ts:127

Vertex texture coordinate, set 0.


texCoord1?

readonly optional texCoord1: RenderStateDynamicVertexAttribute;

Defined in: @novorender/src/core3d/state/dynamic.ts:130

Vertex texture coordinate, set 1.