# orientationForRendering Source: https://www.nianticspatial.com/docs/api/kotlin/com.nianticspatial.nsdk.playback.PlaybackCamera.orientationForRendering/ orientationForRendering --- ## Declaration @JvmStatic fun orientationForRendering(deviceDisplayOrientation: Orientation): Orientation #### Summary Converts device display orientation (Android UI convention: ROTATION_90 -> LANDSCAPE_LEFT) to the internal sensor convention. Used by getDisplayOrientedPose, getViewMatrix, and getProjectionMatrix when a non-null orientation is passed. Exposed for use with displayOrientedTransform if needed. Keep FrameData.screenOrientation in UI convention for meshing and other NSDK consumers. ### Parameters | Name | Type | Summary | | --- | --- | --- | | deviceDisplayOrientation | Orientation | - | ---