Method AddCamera
AddCamera(Camera, out int)
Creates a glTF camera based on a Unity camera
Declaration
bool AddCamera(Camera uCamera, out int cameraId)
Parameters
Type | Name | Description |
---|---|---|
Camera | uCamera | Unity camera |
int | cameraId | glTF camera index |
Returns
Type | Description |
---|---|
bool | True if camera was successfully created, false otherwise |