Describes props you can pass when material type is “glass.”
type LkMatProps_Glass = {
thickness?: "thick" | "normal" | "thin"; // Thickness of the glass material. Thicker material blurs more.
tint?: LkColor; // Optional tint color for the glass material.
tintOpacity?: number; // Optional opacity for the tint color. Defaults to 0.5.
light?: boolean; // Optional. If true, adds a secondary layer for luminance effects.
lightExpression?: string; //Optional. The value to pass to the light's background prop. Should be a gradient.
};
Types with similar roles.