drawing::lighting
Structs
AmbientLight
A non-rendering singleton ambient-light override for its scene.
Properties
color
Ambient color.
intensity
Type: Property<f64>
Ambient intensity multiplier.
enabled
Type: Property<bool>
Whether this ambient override participates in topmost-wins selection.
LightFrame
A non-rendering container that keeps descendant lights from escaping its subtree.
Lights outside the frame may still illuminate its descendants. Each expanded frame instance has its own lexical lighting identity.
LightSource
A non-rendering light resource that affects light-reactive vector materials in its scene.
Properties
color
Light color.
intensity
Type: Property<f64>
Light intensity multiplier.
radius
Radius for point-light attenuation.
z
Logical scene depth in pixels.
shape
Type: Property<LightShape>
Positional or directional light shape.
direction
Direction for directional lights.
enabled
Type: Property<bool>
Whether this light contributes to the scene.