Loading...
Searching...
No Matches
camera.h
Go to the documentation of this file.
1//
2// Copyright 2019 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_USD_IMAGING_USD_APP_UTILS_CAMERA_H
8#define PXR_USD_IMAGING_USD_APP_UTILS_CAMERA_H
9
14
15#include "pxr/pxr.h"
16#include "pxr/usdImaging/usdAppUtils/api.h"
17
18#include "pxr/usd/sdf/path.h"
19#include "pxr/usd/usd/stage.h"
21
22
23PXR_NAMESPACE_OPEN_SCOPE
24
25
38USDAPPUTILS_API
40 const UsdStagePtr& stage,
41 const SdfPath& cameraPath);
42
43
44PXR_NAMESPACE_CLOSE_SCOPE
45
46
47#endif
A path value used to locate objects in layers or scenegraphs.
Definition: path.h:274
Transformable camera.
Definition: camera.h:130
USDAPPUTILS_API UsdGeomCamera UsdAppUtilsGetCameraAtPath(const UsdStagePtr &stage, const SdfPath &cameraPath)
Gets the UsdGeomCamera matching cameraPath from the USD stage stage.