Enum XRSpatialBufferType
Describes the type of data encoded in a spatial buffer for a detected marker.
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public enum XRSpatialBufferType
Fields
Name | Description |
---|---|
None | No encoded data is present for this marker. Used for marker types like ArUco and AprilTag, which do not encode data. |
String | The encoded data consists of a UTF-8 string, such as the text encoded by a QR code. |
Uint8 | The encoded data consists of raw bytes, such as the binary data from a QR code. The interpretation of the bytes must be defined by the provider. |
Unknown | The spatial buffer exists, but the runtime has not yet decoded or identified the data's format or type. Use this when the buffer contents are not yet interpretable or available. |