XRMarkerSubsystem.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 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>