- Preparing search index...
- The search index is not available
solid-akkadi
Function createCommonLightEffect
- createCommonLightEffect(light, _props): void
-
Parameters
-
light: Light
-
_props: {
color?: Vec3;
intensity?: number;
name: string;
}
-
Optional
color?: Vec3
-
Optional
intensity?: number
-
name: string
Returns void
The function creates a reactive effect by setting the name, intensity, and color of a given light.