Interface CameraGizmo
interface CameraGizmo {
attachedCamera: Camera | null;
frustumMaterial: StandardMaterialProps;
material: StandardMaterialProps;
root: SceneNode;
}
attachedCamera: Camera | null;
frustumMaterial: StandardMaterialProps;
material: StandardMaterialProps;
root: SceneNode;
}
Properties
attached Camera
Currently attached camera — set via attachCameraGizmoToCamera.
Readonlyfrustum Material
Alias of material — kept for backward compatibility with callers
that mutated frustumMaterial against the older variant.
Readonlymaterial
Material shared by the body + frustum. Mutate diffuseColor to recolor.
Readonlyroot
Root node — the gizmo follows the attached camera's world translation and orientation each frame.
Display-only gizmo that visualizes an attached camera body and optional frustum.