Editar

Partilhar via


MixedRealityControllerVisualizationProfile.GetUseDefaultModelsOverride Method

Definition

Caution

GetUseDefaultModelsOverride is obsolete and will be removed in a future Mixed Reality Toolkit release. Please use GetUsePlatformModelsOverride.

Gets the UsePlatformModels value defined for the specified controller definition. If the requested controller type is not defined, the default UsePlatformModels is returned.

public:
 bool GetUseDefaultModelsOverride(Type ^ controllerType, Microsoft::MixedReality::Toolkit::Utilities::Handedness hand);
public bool GetUseDefaultModelsOverride (Type controllerType, Microsoft.MixedReality.Toolkit.Utilities.Handedness hand);
[System.Obsolete("GetUseDefaultModelsOverride is obsolete and will be removed in a future Mixed Reality Toolkit release. Please use GetUsePlatformModelsOverride.")]
public bool GetUseDefaultModelsOverride (Type controllerType, Microsoft.MixedReality.Toolkit.Utilities.Handedness hand);
member this.GetUseDefaultModelsOverride : Type * Microsoft.MixedReality.Toolkit.Utilities.Handedness -> bool
[<System.Obsolete("GetUseDefaultModelsOverride is obsolete and will be removed in a future Mixed Reality Toolkit release. Please use GetUsePlatformModelsOverride.")>]
member this.GetUseDefaultModelsOverride : Type * Microsoft.MixedReality.Toolkit.Utilities.Handedness -> bool
Public Function GetUseDefaultModelsOverride (controllerType As Type, hand As Handedness) As Boolean

Parameters

controllerType
Type

The type of controller to query for

hand
Handedness

The specific hand assigned to the controller

Returns

Attributes

Remarks

GetUseDefaultModelsOverride is obsolete and will be removed in a future Mixed Reality Toolkit release. Please use GetUsePlatformModelsOverride.

Applies to