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
| Parameter | Type | Description |
|---|---|---|
| uniform | UniformWithGui | Uniform definition from the material |
| component | string | Optional vec component name for composite uniforms |
Returns:
Range and nudge options for the Studio