docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct AxisBase

    This is a deprecated component. Use InputAxis instead.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Cinemachine
    Assembly: solution.dll
    Syntax
    [Obsolete("AxisBase has been deprecated. Use InputAxis instead.")]
    [Serializable]
    public struct AxisBase

    Fields

    Name Description
    m_MaxValue

    The maximum value for the axis

    m_MinValue

    The minimum value for the axis

    m_Value

    The current value of the axis

    m_Wrap

    If checked, then the axis will wrap around at the min/max values, forming a loop

    Methods

    Name Description
    Validate()

    Call this from OnValidate() to validate the fields of this structure (applies clamps, etc).

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)