編輯

共用方式為


HolographicFrameNativeData Struct

Definition

A representation of Windows Mixed Reality native data, provided as an IntPtr from Unity's UnityEngine.XR.XRDevice.GetNativePtr().

public value class HolographicFrameNativeData
public struct HolographicFrameNativeData
type HolographicFrameNativeData = struct
Public Structure HolographicFrameNativeData
Inheritance
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.

IHolographicFramePtr

The current native IHolographicFrame.

ISpatialCoordinateSystemPtr

The current native root ISpatialCoordinateSystem.

MaxNumberOfCameras

The number of cameras present in the IHolographicCameraPtr array.

VersionNumber

The version number of this native data.

Applies to