Class ProxyFeedbackRequest | Unity Reflect | 1.1.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    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

    Inheritance
    Object
    FeedbackRequest
    ProxyFeedbackRequest
    Inherited Members
    FeedbackRequest.caller
    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()
    Overrides
    FeedbackRequest.Reset()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023