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><spherename="sunMesh"diameter={1}><lightGizmolight={lightRef as DirectionalLight |undefined}updateScale/></sphere></gizmoManager></utilityLayerRenderer>