Struct HolographicFrameNativeData
A representation of Windows Mixed Reality native data, provided as an IntPtr from Unity's UnityEngine.XR.XRDevice.GetNativePtr().
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.WindowsMixedReality
Assembly: cs.temp.dll.dll
Syntax
public struct HolographicFrameNativeData
Remarks
See https://docs.microsoft.com/windows/mixed-reality/unity-xrdevice-advanced for more info.
Fields
IHolographicCameraPtr
An array of IntPtr (to IHolographicCamera) marshaled as UnmanagedType.ByValArray with a length equal to MaxNumberOfCameras.
Declaration
public IntPtr IHolographicCameraPtr
Field Value
Type | Description |
---|---|
IntPtr |
IHolographicFramePtr
The current native IHolographicFrame.
Declaration
public IntPtr IHolographicFramePtr
Field Value
Type | Description |
---|---|
IntPtr |
ISpatialCoordinateSystemPtr
The current native root ISpatialCoordinateSystem.
Declaration
public IntPtr ISpatialCoordinateSystemPtr
Field Value
Type | Description |
---|---|
IntPtr |
MaxNumberOfCameras
The number of cameras present in the IHolographicCameraPtr array.
Declaration
public uint MaxNumberOfCameras
Field Value
Type | Description |
---|---|
UInt32 |
VersionNumber
The version number of this native data.
Declaration
public uint VersionNumber
Field Value
Type | Description |
---|---|
UInt32 |