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: UnityEditor.Experimental.EditorVR.Proxies
Syntax
public class ProxyFeedbackRequest : FeedbackRequest
Fields
control
The control index on which to present this feedback
Declaration
public VRInputDevice.VRControl control
Field Value
| Type | Description |
|---|---|
| VRInputDevice.VRControl |
duration
The duration of the presentation
Declaration
public float duration
Field Value
| Type | Description |
|---|---|
| Single |
maxPresentations
The maximum number times to present this feedback
Declaration
public int maxPresentations
Field Value
| Type | Description |
|---|---|
| Int32 |
node
The node on which to present this feedback
Declaration
public Node node
Field Value
| Type | Description |
|---|---|
| Node |
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
Declaration
public int priority
Field Value
| Type | Description |
|---|---|
| Int32 |
showBody
Whether this feedback should show the body of this node. The priority, control, and tooltipText fields are ignored
Declaration
public bool showBody
Field Value
| Type | Description |
|---|---|
| Boolean |
suppressExisting
Whether this feedback should suppress (hide) existing feedback on the same control/node
Declaration
public bool suppressExisting
Field Value
| Type | Description |
|---|---|
| Boolean |
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)
Declaration
public Func<bool> suppressPresentation
Field Value
| Type | Description |
|---|---|
| Func<Boolean> |
tooltipText
The text to display in the tooltip that is presented
Declaration
public string tooltipText
Field Value
| Type | Description |
|---|---|
| String |
Methods
Reset()
Declaration
public override void Reset()