MixedRealityControllerVisualizationProfile.GetPlatformModelMaterialOverride Method

Definition

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

public:
 UnityEngine::Material ^ GetPlatformModelMaterialOverride(Type ^ controllerType, Microsoft::MixedReality::Toolkit::Utilities::Handedness hand);
public UnityEngine.Material GetPlatformModelMaterialOverride (Type controllerType, Microsoft.MixedReality.Toolkit.Utilities.Handedness hand);
member this.GetPlatformModelMaterialOverride : Type * Microsoft.MixedReality.Toolkit.Utilities.Handedness -> UnityEngine.Material
Public Function GetPlatformModelMaterialOverride (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

Applies to