MixedRealityControllerVisualizationProfile.GetDefaultControllerModelMaterialOverride Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- controllerType
- Type
The type of controller to query for
- hand
- Handedness
The specific hand assigned to the controller
- Attributes
GetDefaultControllerModelMaterialOverride is obsolete and will be removed in a future Mixed Reality Toolkit release. Please use GetPlatformModelMaterialOverride.