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

IOVRAnchorComponent Interface

Interface shared by all components from an OVRAnchor.

Properties

IsEnabled : bool
[Get]
True if this component is enabled and no change to its enabled status is pending.
Signature
bool IOVRAnchorComponent< T >.IsEnabled
IsNull : bool
[Get]
Whether this object represents a valid anchor component.
Signature
bool IOVRAnchorComponent< T >.IsNull

Methods

SetEnabledAsync ( enable , timeout )
Sets the enabled status of this component.
A component must be enabled to access its data.
Signature
OVRTask< bool > IOVRAnchorComponent< T >.SetEnabledAsync(bool enable, double timeout=0)
Parameters
enable: bool  The desired state of the component.
timeout: double  The timeout, in seconds, for the operation. Use zero to indicate an infinite timeout.
Returns
OVRTask< bool >  Returns an OVRTask<T> whose result indicates the result of the operation.