Click or drag to resize

ControllerSettingsConfig Class

Use this component on a gameobject under the App object's hierarchy to configure the default settings for controllers
Inheritance Hierarchy
SystemObject
  UnityEngine.Object
    UnityEngine.Component
      UnityEngine.Behaviour
        UnityEngine.MonoBehaviour
          ImmerseSDK.ConfigConfigComponent
            ImmerseSDK.ConfigControllerSettingsConfig

Namespace:  ImmerseSDK.Config
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
C#
public class ControllerSettingsConfig : ConfigComponent, 
	IControllerSettingsConfig, IConfigProperty

The ControllerSettingsConfig type exposes the following members.

Constructors
  NameDescription
Public methodControllerSettingsConfig
Initializes a new instance of the ControllerSettingsConfig class
Top
Properties
  NameDescription
Public propertyAutoPointDistance
Distance (in meters) to use instead as minimum for going into auto-point state if there are engageable as well as interactable objects around
Public propertyCursorSize
Size of the cursor on Dialogs and other UI elements
Public propertyHapticFeedbackDurationSeconds
How long in seconds the haptic feedback will last
Public propertyHapticFeedbackOnDrop
Enable/Disable haptic Feedback when objects are dropped
Public propertyHapticFeedbackOnPickUp
Enable/Disable haptic Feedback when objects are pickedUp
Public propertyHapticFeedbackOnSnap
Enable/Disable haptic Feedback when the object can be snapped
Public propertyMinTriggerValueForHandUi
Minimum amount of trigger press before HandGui will not be displayed
Public propertyOutlineLineThickness
Thinkness for the EngageObject Outline
Public propertyOutlinetColor
Alternate color to use for EngageObject Outlining
Public propertyRadiusOfEffectForEngage
Distance (in meters) for the radius of object detection, measured from the interaction point on the controller
Public propertyShouldOutlineEngageObject
True to enable Outlining the object that will be engaged when you press the trigger, otherwise false
Public propertyUseAvatarColorForOutline
True to use the avatar color for the EngageObject Outline
Top
Fields
  NameDescription
Private field_autoPointDistance
Distance (in meters) to use instead as minimum for going into auto-point state if there are engageable as well as interactable objects around
Private field_cursorSize
Size of the cursor on Dialogs and other UI elements
Private field_hapticFeedbackDurationSeconds
How long in seconds the haptic feedback will last
Private field_hapticFeedbackOnDrop
Enable/Disable haptic Feedback when objects are dropped
Private field_hapticFeedbackOnPickUp
Enable/Disable haptic Feedback when objects are pickedUp
Private field_hapticFeedbackOnSnap
Enable/Disable haptic Feedback when the object can be snapped
Private field_minTriggerValueForHandUi
Minimum amount of trigger press before HandGui will not be displayed
Private field_outlineColor
Alternate color to use for EngageObject Outline
Private field_outlineLineThickness
Thinkness for the EngageObject Outline
Private field_radiusOfEffectForEngage
Distance (in meters) for the radius of object detection, measured from the interaction point on the controller
Private field_shouldOutlineEngageObject
True to enable Outlineing the object that will be engaged when you press the trigger, otherwise false
Private field_useAvatarColorForOutline
True to use the avatar color for the EngageObject Outline, otherwise use ColorForForOutline property
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also