編輯

共用方式為


MixedRealityControllerVisualizationProfile.GetControllerModelOverride Method

Definition

Gets the override model for a specific controller type and hand

public:
 UnityEngine::GameObject ^ GetControllerModelOverride(Type ^ controllerType, Microsoft::MixedReality::Toolkit::Utilities::Handedness hand);
public UnityEngine.GameObject GetControllerModelOverride (Type controllerType, Microsoft.MixedReality.Toolkit.Utilities.Handedness hand);
member this.GetControllerModelOverride : Type * Microsoft.MixedReality.Toolkit.Utilities.Handedness -> UnityEngine.GameObject
Public Function GetControllerModelOverride (controllerType As Type, hand As Handedness) As GameObject

Parameters

controllerType
Type

The type of controller to query for

hand
Handedness

The specific hand assigned to the controller

Returns

UnityEngine.GameObject

Applies to