API

Interface LightGizmo

Display-only gizmo that visualizes an attached light using type-specific geometry.

interface LightGizmo {
    attachedLight: LightBase | null;
    material: StandardMaterialProps;
    root: SceneNode;
}
Index
attachedLight: LightBase | null

Currently attached light — set via attachLightGizmoToLight.

root: SceneNode

Root node — follows the attached light's position (when it has one) and orients along its direction (when it has one).