|
|
|
|
|
|
// Record the camera's projection type (orthographic or perspective)
|
|
|
|
SetPersistentSensorData("projection", cam.orthographic ? "orthographic" : "perspective"); |
|
|
|
|
|
|
|
var captureFilename = $"{Manager.Instance.GetDirectoryFor(rgbDirectory)}/{k_RgbFilePrefix}{Time.frameCount}.png"; |
|
|
|
|
|
|
|
SensorHandle.ReportCapture(dxRootPath, SensorSpatialData.FromGameObjects( |
|
|
|
m_EgoMarker == null ? null : m_EgoMarker.gameObject, gameObject), |
|
|
|
m_PersistentSensorData.Select(kvp => (kvp.Key, kvp.Value)).ToArray()); |
|
|
|