Null
: readonly OVRAnchorContainer |
A null representation of an OVRAnchorContainer.
Use this to compare with another component to determine whether it is null.
Signature
readonly OVRAnchorContainer Null |
IsEnabled
: bool
[Get] |
True if this component is enabled and no change to its enabled status is pending.
Signature
bool IsEnabled |
IsNull
: bool
[Get] |
Whether this object represents a valid anchor component.
Signature
bool IsNull |
Uuids
: Guid[]
[Get] |
Uuids of the anchors contained by this Anchor Container.
The UUIDs can be passed to OVRAnchor.FetchAnchorsAsync(List<OVRAnchor>,OVRAnchor.FetchOptions,Action<List<OVRAnchor>,int>) to obtain runtime instances of those anchors. Alternatively, you can use FetchAnchorsAsync to combine this call with OVRAnchor.FetchAnchorsAsync(List<OVRAnchor>,OVRAnchor.FetchOptions,Action<List<OVRAnchor>,int>).
Signature
Guid [] Uuids |
Equals
(
other
)
|
Compares this component for equality with other .
Signature
bool Equals(OVRAnchorContainer other) Parameters |
Equals
(
obj
)
|
Compares this component for equality with obj .
Signature
override bool Equals(object obj) Parameters obj: object
The object to compare with.
Returns override bool
True if obj is an OVRAnchorContainer and Equals(OVRAnchorContainer) is true, otherwise false.
|
FetchAnchorsAsync
(
anchors
)
|
Fetches anchors contained by this Anchor Container.
Dispose of the returned OVRTask if you don't use the results
Signature
OVRTask< OVRResult< List< OVRAnchor >, OVRAnchor.FetchResult > > FetchAnchorsAsync(List< OVRAnchor > anchors) Parameters Returns OVRTask< OVRResult< List< OVRAnchor >, OVRAnchor.FetchResult > >
Returns an OVRTask that will eventually let you test if the fetch was successful or not. If the result is true, then the anchors parameter has been populated with the requested anchors.
Throws InvalidOperationException
If it fails to retrieve the Uuids
ArgumentNullException
If parameter anchors is null
|
FetchChildrenAsync
(
anchors
)
|
(Obsolete) Asynchronous method that fetches anchors contained by this Anchor Container.
DeprecatedThis method is obsolete. Use FetchAnchorsAsync instead.
Dispose of the returned OVRTask<bool> if you don't use the results
Signature
OVRTask< bool > FetchChildrenAsync(List< OVRAnchor > anchors) Parameters Returns OVRTask< bool >
Returns an OVRTask<bool> that will eventually let you test if the fetch was successful or not. If the result is true, then the anchors parameter has been populated with the requested anchors.
Throws InvalidOperationException
If it fails to retrieve the Uuids
ArgumentNullException
If parameter anchors is null
|
GetHashCode
()
|
Gets a hashcode suitable for use in a Dictionary or HashSet.
Signature
override int GetHashCode() Returns override int
A hashcode for this component.
|
ToString
()
|
Gets a string representation of this component.
Signature
override string ToString() Returns override string
A string representation of this component.
|
operator!=
(
lhs
, rhs
)
|
Compares two components for inequality.
Signature
static bool operator!=(OVRAnchorContainer lhs, OVRAnchorContainer rhs) Parameters |
operator==
(
lhs
, rhs
)
|
Compares two components for equality.
Signature
static bool operator==(OVRAnchorContainer lhs, OVRAnchorContainer rhs) Parameters |