MixedRealityControllerVisualizationProfile.GetPlatformModelMaterialOverride Method
Definition
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.
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