MixedRealityControllerVisualizationProfile Class

Definition

Profile that determines relevant overrides and properties for controller visualization

public ref class MixedRealityControllerVisualizationProfile : Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Input.IMixedRealityControllerVisualizer), null)]
[UnityEngine.CreateAssetMenu(fileName="MixedRealityControllerVisualizationProfile", menuName="Mixed Reality Toolkit/Profiles/Mixed Reality Controller Visualization Profile", order=9)]
public class MixedRealityControllerVisualizationProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Input.IMixedRealityControllerVisualizer), null)]
[UnityEngine.CreateAssetMenu(fileName="MixedRealityControllerVisualizationProfile", menuName="Mixed Reality/Toolkit/Profiles/Mixed Reality Controller Visualization Profile", order=9)]
public class MixedRealityControllerVisualizationProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Input.IMixedRealityControllerVisualizer), null)]
public class MixedRealityControllerVisualizationProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Input.IMixedRealityControllerVisualizer), null)>]
[<UnityEngine.CreateAssetMenu(fileName="MixedRealityControllerVisualizationProfile", menuName="Mixed Reality Toolkit/Profiles/Mixed Reality Controller Visualization Profile", order=9)>]
type MixedRealityControllerVisualizationProfile = class
    inherit BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Input.IMixedRealityControllerVisualizer), null)>]
[<UnityEngine.CreateAssetMenu(fileName="MixedRealityControllerVisualizationProfile", menuName="Mixed Reality/Toolkit/Profiles/Mixed Reality Controller Visualization Profile", order=9)>]
type MixedRealityControllerVisualizationProfile = class
    inherit BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Input.IMixedRealityControllerVisualizer), null)>]
type MixedRealityControllerVisualizationProfile = class
    inherit BaseMixedRealityProfile
Public Class MixedRealityControllerVisualizationProfile
Inherits BaseMixedRealityProfile
Inheritance
UnityEngine.ScriptableObject
MixedRealityControllerVisualizationProfile
Attributes
MixedRealityServiceProfileAttribute UnityEngine.CreateAssetMenuAttribute

Constructors

MixedRealityControllerVisualizationProfile()

Properties

ControllerVisualizationSettings

The current list of controller visualization settings.

DefaultControllerModelMaterial
Obsolete.

The default controller model material when loading platform SDK controller models. This value is used as a fallback if no controller definition exists with a custom material type.

DefaultControllerVisualizationType

The default controller visualization type. This value is used as a fallback if no controller definition exists with a custom visualization type.

GlobalLeftHandModel

The Default controller model when there is no specific controller model for the Left hand or when no hand is specified (Handedness = none)

GlobalLeftHandVisualizer

The Default controller model when there is no specific controller model for the Left hand or when no hand is specified (Handedness = none)

GlobalRightHandModel

The Default controller model when there is no specific controller model for the Right hand.

GlobalRightHandVisualizer

The Default hand model when there is no specific hand model for the Right hand.

PlatformModelMaterial

The default controller model material when loading platform SDK controller models. This value is used as a fallback if no controller definition exists with a custom material type.

RenderMotionControllers

Enable and configure the controller rendering of the Motion Controllers on Startup.

UseDefaultModels
Obsolete.

Check to obtain controller models from the platform SDK. If left unchecked, the global models will be used. Note: this value is overridden by controller definitions.

UsePlatformModels

Check to obtain controller models from the platform SDK. If left unchecked, the global models will be used. Note: this value is overridden by controller definitions.

Methods

GetControllerModelOverride(Type, Handedness)

Gets the override model for a specific controller type and hand

GetControllerVisualizationTypeOverride(Type, Handedness)

Gets the override IMixedRealityControllerVisualizer type for a specific controller type and hand. If the requested controller type is not defined, DefaultControllerVisualizationType is returned.

GetDefaultControllerModelMaterialOverride(Type, Handedness)
Obsolete.

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

GetPlatformModelMaterialOverride(Type, Handedness)

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

GetUseDefaultModelsOverride(Type, Handedness)
Obsolete.

Gets the UsePlatformModels value defined for the specified controller definition. If the requested controller type is not defined, the default UsePlatformModels is returned.

GetUsePlatformModelsOverride(Type, Handedness)

Gets the UsePlatformModels value defined for the specified controller definition. If the requested controller type is not defined, the default UsePlatformModels is returned.

Applies to