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.
bool KeyboardTrackingEnabled[Get]
The Tracker should track keyboards.
You can test for keyboard tracking support with KeyboardTrackingSupported.
static bool KeyboardTrackingSupported[Get]
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]
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.
ParameterstrackableTypesThe list of TrackableType to populate. The list is cleared before adding any elements.
ExceptionsArgumentNullExceptionThrown if trackableTypes is null.
override string ToString ( )
Generates a string representation of this TrackerConfiguration.
ReturnsReturns a string representation of this TrackerConfiguration.
Determines whether two TrackerConfiguration instances are equal.
ParametersotherThe other TrackerConfiguration to compare with this one.
ReturnsReturns true if other is equal to this one; otherwise, false.
override bool Equals ( object obj )
Determines whether an object is equal to this TrackerConfiguration.
ParametersobjThe object to compare with this TrackerConfiguration.
ReturnsReturns true if obj is an instance of an TrackerConfiguration and is equal to this one; otherwise, false.
override int GetHashCode ( )
Gets a hashcode for this TrackerConfiguration.
ReturnsReturns a hash code for this TrackerConfiguration.
Determines whether two TrackerConfiguration instances are equal.
This is the same as comparing lhs with rhs using Equals(TrackerConfiguration).
ParameterslhsThe TrackerConfiguration to compare with rhs .
rhsThe TrackerConfiguration to compare with lhs .
ReturnsReturns 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.
ParameterslhsThe TrackerConfiguration to compare with rhs .
rhsThe TrackerConfiguration to compare with lhs .
ReturnsReturns false if lhs is equal to rhs ; otherwise, true.