Add front camera field to ar recording

This commit is contained in:
Georg Hagen
2025-03-25 15:06:11 +01:00
parent 38a3b5ec69
commit 35097ea606
3 changed files with 10 additions and 25 deletions

View File

@@ -139,6 +139,7 @@ namespace OpenVulkano::AR::ArKit
metadata.imageResolution = { m_arConfig.videoFormat.imageResolution.width, m_arConfig.videoFormat.imageResolution.height };
metadata.frameRate = m_arConfig.videoFormat.framesPerSecond;
}
metadata.frontSensor = config.useFrontCamera;
}
void ArSessionArKitInternal::SetRenderer(IRenderer* renderer)