XRMarkerSubsystem.Provider.GetRawData(TrackableId, Allocator) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get raw data for an existing XRMarker.
public abstract Unity.Collections.NativeArray<byte> GetRawData (UnityEngine.XR.ARSubsystems.TrackableId trackableId, Unity.Collections.Allocator allocator);
abstract member GetRawData : UnityEngine.XR.ARSubsystems.TrackableId * Unity.Collections.Allocator -> Unity.Collections.NativeArray<byte>
Public MustOverride Function GetRawData (trackableId As TrackableId, allocator As Allocator) As NativeArray(Of Byte)
Parameters
- trackableId
- UnityEngine.XR.ARSubsystems.TrackableId
The UnityEngine.XR.ARSubsystems.TrackableId of the marker.
- allocator
- Unity.Collections.Allocator
Returns
Unity.Collections.NativeArray<Byte>