Skip to main content

Module controls

Module controls 

Source
Expand description

Keyboard controls for the viewer.

Structs§

LuminaireTransform
Luminaire position with rotation for multi-luminaire scenes.

Functions§

calculate_all_luminaire_transforms
Calculate all luminaire positions for the current scene. Returns a list of positions and rotations for each luminaire.
calculate_light_position
Calculate light position based on scene type and settings. Returns position for the first/primary luminaire only. For multi-luminaire scenes, use calculate_all_luminaire_transforms.
calculate_light_rotation
Calculate light rotation based on scene type.
sync_viewer_to_lights
System to sync ViewerSettings with PhotometricLight components.
viewer_controls_system
Keyboard control system for the 3D viewer.