Actions
: List< FeedbackActionSO > |
A list of FeedbackActionSO assets to execute when this rule matches.
These actions define the actual feedback (haptic, audio, visual, etc.).
Signature
List<FeedbackActionSO> Oculus.Interaction.Feedback.FeedbackConfig.Rule.Actions |
DefaultHaptics
: HapticPattern |
The default haptic pattern to play if UseDefaultHaptics is true.
Signature
HapticPattern Oculus.Interaction.Feedback.FeedbackConfig.Rule.DefaultHaptics |
Interactors
: InteractorKind |
Specifies the kind(s) of interactor this rule applies to.
Use InteractorKind.Any to match all interactor types.
Signature
InteractorKind Oculus.Interaction.Feedback.FeedbackConfig.Rule.Interactors |
Tag
: string |
Optional Unity Tag constraint.
If not empty, the source GameObject of the interaction must have this tag for the rule to match. Leave blank to match any tag.
Signature
string Oculus.Interaction.Feedback.FeedbackConfig.Rule.Tag |
Type
: InteractionType |
The specific InteractionType this rule applies to (e.g., HoverStart, SelectEnd).
Signature
InteractionType Oculus.Interaction.Feedback.FeedbackConfig.Rule.Type |
UseDefaultHaptics
: bool |
If true, a default haptic pattern defined by DefaultHaptics will also be played when this rule matches, in addition to any Actions.
Signature
bool Oculus.Interaction.Feedback.FeedbackConfig.Rule.UseDefaultHaptics |
| Member | Value | Description |
|---|---|---|
Any | 0 |
Matches any interactor type.
|
Poke | 1 << 0 |
Represents a PokeInteractor.
|
Ray | 1 << 1 |
Represents a RayInteractor or a UI pointer event.
|
Grab | 1 << 2 |
Represents a GrabInteractor.
|
HandGrab | 1 << 3 |
Represents a HandGrabInteractor.
|
HandGrabUse | 1 << 4 |
Represents a HandGrabUseInteractor.
|
TouchHandGrab | 1 << 5 |
Represents a TouchHandGrabInteractor.
|
DistanceGrab | 1 << 6 |
Represents a DistanceGrabInteractor.
|
DistanceHandGrab | 1 << 7 |
Represents a DistanceHandGrabInteractor.
|