Editar

Partilhar via


MixedRealityControllerVisualizationSetting Struct

Definition

Used to define a controller's visualization settings.

public value class MixedRealityControllerVisualizationSetting
[System.Serializable]
public struct MixedRealityControllerVisualizationSetting
[<System.Serializable>]
type MixedRealityControllerVisualizationSetting = struct
Public Structure MixedRealityControllerVisualizationSetting
Inheritance
MixedRealityControllerVisualizationSetting
Attributes

Constructors

MixedRealityControllerVisualizationSetting(String, Type, Handedness, GameObject)
Obsolete.

Constructor.

Properties

ControllerType

Controller Type to instantiate at runtime.

ControllerVisualizationType

The concrete Controller Visualizer component to use on the rendered controller model

DefaultModelMaterial

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.

Description

Description of the Device.

Handedness

The designated hand that the device is managing.

OverrideControllerModel

The controller model prefab to be rendered.

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.

UseDefaultModel

Check to obtain controller models from the platform SDK. If left unchecked, the global models will be used.

UsePlatformModels

Check to obtain controller models from the platform SDK. If left unchecked, the global models will be used.

Applies to