Interface CameraGizmoOptions
interface CameraGizmoOptions {
color?: [number, number, number];
displayBody?: boolean;
displayFrustum?: boolean;
frustumColor?: [number, number, number];
}
color?: [number, number, number];
displayBody?: boolean;
displayFrustum?: boolean;
frustumColor?: [number, number, number];
}
Properties
Optionalcolor
color?: [number, number, number]
RGB color for the camera body + frustum material. Defaults to grey.
Optionaldisplay Body
displayBody?: boolean
Set to false to omit the camera body mesh (box + cylinders). Default true.
Optionaldisplay Frustum
displayFrustum?: boolean
Set to false to omit the frustum wireframe. Defaults to true.
Optionalfrustum Color
frustumColor?: [number, number, number]
RGB color for the frustum wireframe edges (alias of color kept for
backward compatibility with the previous tube-body variant).
Options for the display-only camera gizmo.