Skip to main content

@novorender/web_app / RenderStateDynamicMeshPrimitive

Interface: RenderStateDynamicMeshPrimitive

Dynamic mesh primitive.

Remarks

Meshes are rendered one material at a time. This interfaces describes such a sub-mesh, or mesh primitive

Properties

geometry

readonly geometry: RenderStateDynamicGeometry;

What dynamic mesh geometry to use.

Defined in

@novorender/core3d/state/dynamic.ts:137


material

readonly material: RenderStateDynamicMaterial;

What dynamic mesh material to use.

Defined in

@novorender/core3d/state/dynamic.ts:140