omni::connect::core::defineCamera

Defined in omni/connect/core/CameraAlgo.h

pxr::UsdGeomCamera omni::connect::core::defineCamera(pxr::UsdPrim parent, const std::string &name, const pxr::GfCamera &cameraData)

Defines a basic 3d camera on the stage.

This is an overloaded member function, provided for convenience. It differs from the above function only in what arguments it accepts.

Parameters
  • parent – Prim below which to define the camera

  • name – Name of the camera

  • cameraData – The camera data to set, including the world space transform matrix

Returns

UsdGeomCamera schema wrapping the defined UsdPrim.