Skip to content

Home > @unseenco/backstage-threejs > parseUniformGui

parseUniformGui() function

Reads GUI hints from a shader uniform for Backstage number or image props.

Signature:

typescript
export declare function parseUniformGui(uniform: UniformWithGui, component?: string): ParsedUniformGuiOptions;

Parameters

ParameterTypeDescription
uniformUniformWithGuiUniform definition from the material
componentstringOptional vec component name for composite uniforms

Returns:

ParsedUniformGuiOptions

Range and nudge options for the Studio