Unity.XR.XREAL.XREALRGBCameraTexture
Inheritance diagram for Unity.XR.XREAL.XREALRGBCameraTexture:
Public Member Functions | |
| void | StartCapture () |
| void | StopCapture () |
| Texture2D[] | GetYUVFormatTextures () |
| Vector2Int | GetResolution () |
| ulong | GetTimeStamp () |
Public Attributes | |
| Action | OnRGBCameraUpdate |
Additional Inherited Members | |
| static T | CreateSingleton () |
| static T | Singleton [get] |
Detailed Description
Manages RGB camera texture data capture and YUV format processing.
Member Function Documentation
◆ GetResolution()
| Vector2Int Unity.XR.XREAL.XREALRGBCameraTexture.GetResolution | ( | ) |
Gets current capture resolution.
- Returns
- Resolution as Vector2Int (x=width, y=height)
◆ GetTimeStamp()
| ulong Unity.XR.XREAL.XREALRGBCameraTexture.GetTimeStamp | ( | ) |
Gets timestamp of latest captured frame.
- Returns
- Timestamp in native units
◆ GetYUVFormatTextures()
| Texture2D[] Unity.XR.XREAL.XREALRGBCameraTexture.GetYUVFormatTextures | ( | ) |
Gets YUV plane textures in order: Y, U, V.
- Returns
- Array of three Texture2D objects


