편집

다음을 통해 공유


MixedRealityControllerVisualizationProfile.GetDefaultControllerModelMaterialOverride Method

Definition

Caution

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

Gets the DefaultModelMaterial value defined for the specified controller definition. If the requested controller type is not defined, the global platformModelMaterial is returned.

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

Parameters

controllerType
Type

The type of controller to query for

hand
Handedness

The specific hand assigned to the controller

Returns

UnityEngine.Material
Attributes

Remarks

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

Applies to