Skip to content

Home > @unseenco/backstage-threejs > UniformWithGui

UniformWithGui type

Shader uniform value plus optional GUI hints from the material source.

Signature:

typescript
export type UniformWithGui = {
    value: unknown;
    gui?: UniformGuiOptions | Record<string, UniformGuiOptions | undefined>;
};

References: UniformGuiOptions