Interface SceneTechniqueParamsBase

Parameters for SceneModel.createTechnique.

A SceneTechnique declares which non-default draw path a SceneMesh should render through — the rendering style, as distinct from a SceneMaterial's shading model. Different technique types unlock different shader families inside the renderer (thick lines, dashed lines, sketch outlines, contour fills, hologram glow…).

The base shape carries id and a discriminator type; each technique type extends with its own knobs. Use the discriminated-union SceneTechniqueParams type as the parameter form for createTechnique.

interface SceneTechniqueParamsBase {
    id: string;
}

Hierarchy (View Summary)

Properties

Properties

id: string

ID for the new technique. Must be unique within its containing SceneModel's techniques registry.