Gizmo Manager
Gizmo Manager Example
You can render with a Gizmo Manager - declare inside of a
utilityLayerRenderer
. In this example a lightGizmo
can be used to change the
directional light (verify with shadow).
<utilityLayerRenderer><gizmoManagerthickness={3}positionGizmoEnabledrotationGizmoEnabled><sphere name="sunMesh" diameter={1}><lightGizmo light={lightRef as (DirectionalLight | undefined)} updateScale /></sphere></gizmoManager></utilityLayerRenderer>
- Output
- Code