Compartir a través de


XRMarkerSubsystem.GetRawData(TrackableId, Allocator) Method

Definition

Get raw data for an existing XRMarker.

public Unity.Collections.NativeArray<byte> GetRawData (UnityEngine.XR.ARSubsystems.TrackableId trackableId, Unity.Collections.Allocator allocator);
member this.GetRawData : UnityEngine.XR.ARSubsystems.TrackableId * Unity.Collections.Allocator -> Unity.Collections.NativeArray<byte>
Public 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