Skip to main content
←API Reference ←com.nianticspatial.nsdk.playback ←PlaybackCamera

getDisplayOrientedPose


Declaration​

fun getDisplayOrientedPose(deviceDisplayOrientation: Orientation? = null): Pose

Summary​

Display-oriented camera pose (Z rotation applied for the given orientation).
Use for VPS2 and UI that need heading aligned with the display.

Parameters​

NameTypeSummary
deviceDisplayOrientationOrientation?
Device orientation in Android UI convention (ROTATION_90 → LANDSCAPE_LEFT); defaults to [orientation] when null. Keep [FrameData.screenOrientation] in UI convention for meshing and other NSDK consumers.