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

IOVRAnchorComponent Interface

Interface shared by all components from an OVRAnchor.

Overview

Properties

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

Public Member Functions

OVRTask< bool >
SetEnabledAsync
( bool enable,
double timeout )
Sets the enabled status of this component.

Details

Detailed Description

Others
T
The actual implementation Type of the interface.

Properties

bool IOVRAnchorComponent< T >.IsNull
Whether this object represents a valid anchor component.
bool IOVRAnchorComponent< T >.IsEnabled
True if this component is enabled and no change to its enabled status is pending.
OVRPlugin.SpaceComponentType IOVRAnchorComponent< T >.Type
No description available.
ulong IOVRAnchorComponent< T >.Handle
No description available.

Member Functions

OVRTask< bool > IOVRAnchorComponent< T >.SetEnabledAsync
( bool enable,
double timeout )
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<T> whose result indicates the result of the operation.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon