Header menu logo Mibo

Lighting Module

Functions and values

Function or value Description

ambient

Full Usage: ambient

Returns: LightingState

Minimal ambient-only lighting

Returns: LightingState

defaultSunlight

Full Usage: defaultSunlight

Returns: LightingState

Default sunlight preset

Returns: LightingState

withDirectional dir color intensity ambient

Full Usage: withDirectional dir color intensity ambient

Parameters:
Returns: LightingState

Create lighting with single directional light

dir : Vector3
color : Color
intensity : float32
ambient : Color
Returns: LightingState

Type something to start searching.