Houdini 22.0 Nodes APEX nodes

geoutils::UpdateCameraProperties

Updates a dictionary of camera properties.

On this page
Since 22.0

Updates a properties dictionary output from geo::GetCameraProperties. Use geo::SetCameraProperties with the updated dictionary to update the camera.

Note

A key-value pair in the properties dictionary is set if the input port corresponding to the key is connected or a non-default value is set for the inport port.

The props ports of this node are in-place ports, which means the properties dictionary is updated without creating a copy.

Inputs

*props: Dict Required

A dictionary with the camera properties. The dictionary is either the output of geo::GetCameraProperties or it should have the same format.

aperture: Float

The width of the visible field.

clipfar: Float

The far clipping plane where geometry farther than this plane is not shown.

clipnear: Float

The near clipping plane where geometry closer than this plane is not shown.

focal: Float

The camera focal length.

focusdist: Float

The distance from the camera to the focal plane.

fstop: Float

The ratio of the focal length to the camera aperture size.

guidescale: Float

The camera guide scale.

imagingdist: Float

The distance between the camera and the imaging plane.

orthozoom: Float

The zoom for orthographic cameras. Orthographic cameras use parallel camera rays that are orthogonal to the (flat) camera plane. This port is only relevant for orthographic cameras.

pixelaspect: Float

The aspect of the pixels in the final image. This is useful if you want non-square pixels.

shutterclose: Float

The camera shutter close time relative to the start of the frame.

shutteropen: Float

The camera shutter open time relative to the start of the frame.

Outputs

*props: Dict

The updated properties dictionary.

See also

APEX nodes