UxrControlFeedback Class

Defines sound and haptic feedback for pressing events. Each UxrControlInput, for instance, has a UxrControlFeedback for each of its click/down/up events.

Inheritance Hierarchy

System.Object
  UltimateXR.UI.UxrControlFeedback
Namespace: UltimateXR.UI
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

[SerializableAttribute]
public class UxrControlFeedback


The UxrControlFeedback type exposes the following members.

Constructors

NameDescription
Public methodUxrControlFeedback() Default constructor.
Public methodUxrControlFeedback(UxrHapticClip) Constructor allowing to define the haptic clip.

Properties

NameDescription
Public propertyAudioClip Gets or sets the audio clip.
Public propertyAudioVolume Gets or sets the audio volume.
Public propertyHapticClip Gets or sets the haptic clip.
Public propertyUseAudio3D Gets or sets whether to use 3D audio.

Fields

NameDescription
Public fieldStatic memberFeedbackClick Regular click
Public fieldStatic memberFeedbackDown Subtle click
Public fieldStatic memberFeedbackUp No feedback

Extension Methods

NameDescription
Public Extension MethodThrowIfNull Throws an exception if the object is null. (Defined by ObjectExt.)

See Also

Reference

UltimateXR.UI Namespace