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

TrackerConfiguration Struct

Extends IEquatable< TrackerConfiguration >
Represents a configuration for a Tracker.
Use this struct to configure a Tracker by calling Tracker.ConfigureAsync, or to get a tracker's current configuration using Tracker.Configuration.

Properties

The Tracker should track keyboards.
You can test for keyboard tracking support with KeyboardTrackingSupported.
Whether keyboard tracking is supported.
Use this to test for keyboard tracking support before calling Tracker.ConfigureAsync with KeyboardTrackingEnabled set to true.
bool RequiresDynamicObjectTracker[Get]

Member Functions

Gets the collection of TrackableTypes implied by this configuration.
This method provides the types of trackables that this configuration would enable. Use this in conjunction with the static method OVRAnchor.FetchTrackablesAsync to fetch all anchors relevant to a particular TrackerConfiguration.Note: The member method OVRAnchor.Tracker.FetchTrackablesAsync performs a similar operation as GetTrackableTypes followed by OVRAnchor.FetchTrackablesAsync.
Parameters
trackableTypes
The list of TrackableType to populate. The list is cleared before adding any elements.
Exceptions
ArgumentNullException
Thrown if trackableTypes is null.
Generates a string representation of this TrackerConfiguration.
Returns
Returns a string representation of this TrackerConfiguration.
Determines whether two TrackerConfiguration instances are equal.
Parameters
other
The other TrackerConfiguration to compare with this one.
Returns
Returns true if other is equal to this one; otherwise, false.
Determines whether an object is equal to this TrackerConfiguration.
Parameters
obj
The object to compare with this TrackerConfiguration.
Returns
Returns true if obj is an instance of an TrackerConfiguration and is equal to this one; otherwise, false.
Gets a hashcode for this TrackerConfiguration.
Returns
Returns a hash code for this TrackerConfiguration.

Static Member Functions

Determines whether two TrackerConfiguration instances are equal.
This is the same as comparing lhs with rhs using Equals(TrackerConfiguration).
Parameters
lhs
The TrackerConfiguration to compare with rhs .
rhs
The TrackerConfiguration to compare with lhs .
Returns
Returns true if lhs is equal to rhs ; otherwise, false.
Determines whether two TrackerConfiguration instances are not equal.
This is the same as comparing lhs with rhs using Equals(TrackerConfiguration) and negating the result.
Parameters
lhs
The TrackerConfiguration to compare with rhs .
rhs
The TrackerConfiguration to compare with lhs .
Returns
Returns false if lhs is equal to rhs ; otherwise, true.
Did you find this page helpful?