Struct XRReferenceObject
Represents a 3D scan of a real object that can be recognized in the environment.
Syntax
[Serializable]
public struct XRReferenceObject : IEquatable<XRReferenceObject>
Properties
guid
A Guid
unique to this reference object.
Declaration
public Guid guid { get; }
Property Value
name
A string name for this reference object.
Declaration
public string name { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Equals(XRReferenceObject)
Declaration
public bool Equals(XRReferenceObject other)
Parameters
Returns
FindEntry(Type)
Declaration
public XRReferenceObjectEntry FindEntry(Type type)
Parameters
Returns
Exceptions
See Also
FindEntry<T>()
Declaration
public T FindEntry<T>()
where T : XRReferenceObjectEntry
Returns
Type Parameters
See Also
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
Equality(XRReferenceObject, XRReferenceObject)
Declaration
public static bool operator ==(XRReferenceObject lhs, XRReferenceObject rhs)
Parameters
Returns
Inequality(XRReferenceObject, XRReferenceObject)
Declaration
public static bool operator !=(XRReferenceObject lhs, XRReferenceObject rhs)
Parameters
Returns
See Also