API reference
API reference
Select your platform
No SDKs available
No versions available

IOVRAnchorComponent Interface

Interface shared by all OVRAnchor components.
For more information about the anchor-component model, see Spatial Anchor Overview.
Others
T
The actual implementation Type of the interface.
See Also
OVRAnchor.FetchAnchorsAsync(System.Collections.Generic.List<OVRAnchor>,OVRAnchor.FetchOptions,System.Action<System.Collections.Generic.List<OVRAnchor>,int>), OVRAnchor.TryGetComponent<T>, OVRAnchor.SupportsComponent<T>

Properties

Whether this object represents a valid anchor component.
True if this component is enabled and no change to its enabled status is pending.
OVRPlugin.SpaceComponentType Type[Get]
ulong Handle[Get]

Member Functions

Sets the enabled status of this component.
A component must be enabled to access its data.
Parameters
enable
The desired state of the component.
timeout
The timeout, in seconds, for the operation. Use zero to indicate an infinite timeout.
Returns
Returns an OVRTask<bool> whose result indicates the result of the operation.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon