Share via


XRMarkerSubsystem.Provider.GetRawData(TrackableId, Allocator) Method

Definition

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>

Applies to