Struct XRReferenceObject
Represents a 3D scan of a real object that can be recognized in the environment.
Implements
Inherited Members
Namespace: UnityEngine .XR.ARSubsystems
Assembly: solution.dll
Syntax
[Serializable]
public struct XRReferenceObject : IEquatable<XRReferenceObject>
Remarks
Reference objects contain a list of provider-specific entries.
Each entry must have previously been generated in a
format specific to its implementation of the XRObject
Constructors
Name | Description |
---|---|
XRReference |
Creates a new reference object. This is most commonly used to construct a new reference object at runtime.
See Add(XRReference |
Properties
Name | Description |
---|---|
guid | A |
name | A string name for this reference object. |
Methods
Name | Description |
---|---|
Add |
Adds a provider-specific entry to this reference object. |
Equals(object) | Tests for equality. |
Equals(XRReference |
Tests for equality. |
Find |
Finds an XRReference |
Find |
Finds an XRReference |
Get |
Generates a hash suitable for use with containers like |
Operators
Name | Description |
---|---|
operator ==(XRReference |
Tests for equality. Same as Equals(XRReference |
operator !=(XRReference |
Tests for inequality. Same as |