Skip to main content

@novorender/api / RenderStateGroupAction

Type Alias: RenderStateGroupAction

type RenderStateGroupAction = RGBATransform | "hide" | "filter";

Defined in: @novorender/src/core3d/state/index.ts:575

How to render the geometry of a highlight group.

Remarks​

Color transforms allows you to modify the color, brightness and transparency of objects within the group.

"hide" will hide the objects within the group more effectively than using alpha/opacity = 0, while still retaining them in memory for quick re-rendering.

"filter" will remove the objects from memory entirely, which helps improve rendering performance and memory usage. Unlike hidden group, changes to filtered groups will trigger a complete reload of the streamable scene.