Class MouseScrollGesture | Unity Reflect | 1.3.0-preview.104
docs.unity3d.com
    Show / Hide Table of Contents

    Class MouseScrollGesture

    Inheritance
    Object
    MouseScrollGesture
    Namespace: UnityEngine.Reflect.Controller.Gestures.Desktop
    Syntax
    public class MouseScrollGesture : IGesture

    Constructors

    MouseScrollGesture()

    Declaration
    public MouseScrollGesture()

    MouseScrollGesture(Action<Single>)

    Declaration
    public MouseScrollGesture(Action<float> mouseScrolled)
    Parameters
    Type Name Description
    Action<Single> mouseScrolled

    Properties

    Multiplier

    Declaration
    public float Multiplier { get; set; }
    Property Value
    Type Description
    Single

    Methods

    Update()

    Declaration
    public void Update()
    Implements
    IGesture.Update()

    Events

    mouseScrolled

    Declaration
    public event Action<float> mouseScrolled
    Event Type
    Type Description
    Action<Single>
    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