Workspace 6.21.5
|
Creates a new Camera object, which defines the view frustum within a Scene; i.e. the region of a Scene that is visible when rendered.
Inputs: | |||
---|---|---|---|
Enabled | bool | If enabled, the Camera will be added to the Scene. | |
Name | QString | Each Camera in a Scene must have a unique name. This allows users to dynamically select which camera to use for rendering. | |
Respond to interaction | Deprecated | bool | Certain widgets such as the WSGLWidget allow users to interact with a Scene. If this input is enabled, the user will be able to adjust the Camera's location and orientation from such a widget. When these events occur, the Camera's Transform matrix input will be updated and the operation will update the output Camera. Replaced by the new 'Allowed interactions' input. |
Transform matrix | CSIRO::Mesh::TransformMatrix | Controls the position and orientation of the Camera. NOTE: To create an orbit camera, instead of modifying this transform, attach the Camera to a TransformBuilder instead. | |
Tracking target | CSIRO::Rendering::SceneItem | (Optional) All camera motion will be relative to this scene item. | |
Field of view | Deprecated | double |
The 'Field of View' input is now known as 'Field of view (vertical)' |
Field of view (vertical) | double | ||
Field of view (horizontal) | double | ||
Use horizontal field of view | bool | ||
Orthographic view volume | double | If the Projection mode input is set to "Orthographic", this input controls the extent of the Scene that makes up the view frustum. | |
Near clipping plane | double | Polygons or vertices closer to the Camera than this distance will not be visible. | |
Far clipping plane | double | Polygons or vertices in the Scene further from the Camera than this distance will not be visible. | |
LOD distance bias | double | A modifier that controls the distance from the Camera at which lower LOD levels are selected for display (if LOD levels are used). A larger value leads to a longer view distance before a lower resolution LOD is picked. | |
Projection mode | CSIRO::Rendering::Camera::ProjectionMode | Controls whether the Camera defines a perspective view frustum, where objects appear smaller the further away from the camera they are, or an orthographic one, where objects are always rendered at the same scale regardless of their distance from the camera. | |
Interaction options | CSIRO::Rendering::CameraInteractionOptions | Controls which widget interactions can be used to manipulate the camera's properties. | |
Symbol shader | CSIRO::Rendering::Shader | Controls the appearance of the camera symbol in the scene, if visible. | |
Outputs: | |||
Camera | CSIRO::Rendering::Camera |