Struct MixedRealityControllerVisualizationSetting
Used to define a controller's visualization settings.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public struct MixedRealityControllerVisualizationSetting
Constructors
MixedRealityControllerVisualizationSetting(String, Type, Handedness, GameObject)
Constructor.
Declaration
public MixedRealityControllerVisualizationSetting(string description, Type controllerType, Handedness handedness = null, GameObject overrideModel = null)
Parameters
Type | Name | Description |
---|---|---|
String | description | Description of the Device. |
Type | controllerType | Controller Type to instantiate at runtime. |
Handedness | handedness | The designated hand that the device is managing. |
GameObject | overrideModel | The controller model prefab to be rendered. |
Properties
ControllerType
Controller Type to instantiate at runtime.
Declaration
public SystemType ControllerType { get; }
Property Value
Type | Description |
---|---|
SystemType |
ControllerVisualizationType
The concrete Controller Visualizer component to use on the rendered controller model
Declaration
public SystemType ControllerVisualizationType { get; }
Property Value
Type | Description |
---|---|
SystemType |
Description
Description of the Device.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
String |
Handedness
The designated hand that the device is managing.
Declaration
public Handedness Handedness { get; }
Property Value
Type | Description |
---|---|
Handedness |
OverrideControllerModel
The controller model prefab to be rendered.
Declaration
public GameObject OverrideControllerModel { get; }
Property Value
Type | Description |
---|---|
GameObject |
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.
Declaration
public Material PlatformModelMaterial { get; }
Property Value
Type | Description |
---|---|
Material |
UsePlatformModels
Check to obtain controller models from the platform SDK. If left unchecked, the global models will be used.
Declaration
public bool UsePlatformModels { get; }
Property Value
Type | Description |
---|---|
Boolean |