Method BuildCamera
BuildCamera(CameraSample, GameObject, SceneImportOptions)
Copy camera data from USD to Unity with the given import options.
Declaration
public static void BuildCamera(CameraSample usdCamera, GameObject go, SceneImportOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CameraSample | usdCamera | The input USD camera sample. |
| GameObject | go | The gameobject to add the camera component to. |
| SceneImportOptions | options | The import options to apply when building the camera. |