Class ControlBinding | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Class ControlBinding

    Inheritance
    Object
    ControlBinding
    Namespace: UnityEngine.InputNew
    Syntax
    [Serializable]
    public class ControlBinding

    Fields

    buttonAxisSources

    Declaration
    public List<ButtonAxisSource> buttonAxisSources
    Field Value
    Type Description
    List<ButtonAxisSource>

    deadZone

    Declaration
    public float deadZone
    Field Value
    Type Description
    Single

    gravity

    Declaration
    public float gravity
    Field Value
    Type Description
    Single

    primaryIsButtonAxis

    Declaration
    public bool primaryIsButtonAxis
    Field Value
    Type Description
    Boolean

    sensitivity

    Declaration
    public float sensitivity
    Field Value
    Type Description
    Single

    snap

    Declaration
    public bool snap
    Field Value
    Type Description
    Boolean

    sources

    Declaration
    public List<InputControlDescriptor> sources
    Field Value
    Type Description
    List<InputControlDescriptor>

    Methods

    Clone()

    Declaration
    public virtual ControlBinding Clone()
    Returns
    Type Description
    ControlBinding

    ExtractDeviceTypesAndControlIndices(Dictionary<Int32, List<Int32>>)

    Declaration
    public void ExtractDeviceTypesAndControlIndices(Dictionary<int, List<int>> controlIndicesPerDeviceType)
    Parameters
    Type Name Description
    Dictionary<Int32, List<Int32>> controlIndicesPerDeviceType
    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