docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CinemachineInputProviderExtensions

    IInputAxisProvider is deprecated. Use InputAxis and InputAxisController instead.

    Inheritance
    object
    CinemachineInputProviderExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cinemachine
    Assembly: Unity.Cinemachine.dll
    Syntax
    [Obsolete("IInputAxisProvider is deprecated.  Use InputAxis and InputAxisController instead")]
    public static class CinemachineInputProviderExtensions

    Methods

    GetInputAxisProvider(CinemachineVirtualCameraBase)

    Locate the first component that implements AxisState.IInputAxisProvider.

    Declaration
    public static AxisState.IInputAxisProvider GetInputAxisProvider(this CinemachineVirtualCameraBase vcam)
    Parameters
    Type Name Description
    CinemachineVirtualCameraBase vcam

    The virtual camera in queston

    Returns
    Type Description
    AxisState.IInputAxisProvider

    The first AxisState.IInputAxisProvider or null if none

    In This Article
    Back to top
    Copyright © 2025 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)