check
Code copied to clipboard.
close
menu
menu_open
menu

LkMatProps_Glass

Describes props you can pass when material type is “glass.”

Scope

Global
Local

Kind

Interface
Type

Source Code

content_copy

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.

 };

Related Components

Components that use this type.

Related Types

Types with similar roles.