Class ProxyFeedbackRequest
ProxyFeedbackRequests reside in feedbackRequest collection until the action associated with an affordance changes Some are removed immediately after being added; others exist for the duration of an action/tool's lifespan
Inherited Members
Namespace: Unity.EditorXR.Proxies
Assembly: solution.dll
Syntax
public class ProxyFeedbackRequest : FeedbackRequest
Fields
Name | Description |
---|---|
control | The control index on which to present this feedback |
duration | The duration of the presentation |
maxPresentations | The maximum number times to present this feedback |
node | The node on which to present this feedback |
priority | The priority level for this request. Default is 0. If there are multiple requests for one control, the one with the highest priority is presented If multiple requests on the same control have the same priority, the most recently added is presented |
showBody | Whether this feedback should show the body of this node. The priority, control, and tooltipText fields are ignored |
suppressExisting | Whether this feedback should suppress (hide) existing feedback on the same control/node |
suppressPresentation | (Optional) A delegate which returns true if presentation should be suppressed If the delegate is not null, feedback will be suppressed after it becomes visible a number of times (specified by maxPresentations) |
tooltipText | The text to display in the tooltip that is presented |
Methods
Name | Description |
---|---|
Reset() | Reset this ProxyFeedbackRequest for re-use |