Skip to main content

interface.RenderStateDynamicMeshPrimitive

API > 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.

Source

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


material

readonly material: RenderStateDynamicMaterial

What dynamic mesh material to use.

Source

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