⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Interface IMotionController

    Namespace: NeoFPS.CharacterMotion
    Assembly: NeoFPS.dll
    Syntax
    public interface IMotionController

    Properties

    aimController

    Declaration
    IAimController aimController { get; }
    Property Value
    Type Description
    IAimController

    bodyAnimator

    Declaration
    Animator bodyAnimator { get; }
    Property Value
    Type Description
    Animator

    characterController

    Declaration
    INeoCharacterController characterController { get; }
    Property Value
    Type Description
    INeoCharacterController

    currentState

    Declaration
    MotionGraphState currentState { get; }
    Property Value
    Type Description
    MotionGraphState

    gameObject

    Declaration
    GameObject gameObject { get; }
    Property Value
    Type Description
    GameObject

    inputMoveDirection

    Declaration
    Vector2 inputMoveDirection { get; set; }
    Property Value
    Type Description
    Vector2

    inputMoveScale

    Declaration
    float inputMoveScale { get; set; }
    Property Value
    Type Description
    System.Single

    localTransform

    Declaration
    Transform localTransform { get; }
    Property Value
    Type Description
    Transform

    motionGraph

    Declaration
    MotionGraphContainer motionGraph { get; }
    Property Value
    Type Description
    MotionGraphContainer

    rootMotionDamping

    Declaration
    float rootMotionDamping { get; set; }
    Property Value
    Type Description
    System.Single

    rootMotionHandler

    Declaration
    IRootMotionHandler rootMotionHandler { get; }
    Property Value
    Type Description
    IRootMotionHandler

    rootMotionPositionMultiplier

    Declaration
    float rootMotionPositionMultiplier { get; set; }
    Property Value
    Type Description
    System.Single

    rootMotionRotationMultiplier

    Declaration
    float rootMotionRotationMultiplier { get; set; }
    Property Value
    Type Description
    System.Single

    rootMotionStrength

    Declaration
    float rootMotionStrength { get; }
    Property Value
    Type Description
    System.Single

    transform

    Declaration
    Transform transform { get; }
    Property Value
    Type Description
    Transform

    Methods

    ChangeStandingHeight(Single)

    Declaration
    void ChangeStandingHeight(float height)
    Parameters
    Type Name Description
    System.Single height

    CheckIsHeightMultiplierRestricted(Single)

    Declaration
    bool CheckIsHeightMultiplierRestricted(float multiplier)
    Parameters
    Type Name Description
    System.Single multiplier
    Returns
    Type Description
    System.Boolean

    GetComponent(Type)

    Declaration
    Component GetComponent(Type t)
    Parameters
    Type Name Description
    System.Type t
    Returns
    Type Description
    Component

    GetComponent<T>()

    Declaration
    T GetComponent<T>()
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetComponentInChildren(Type)

    Declaration
    Component GetComponentInChildren(Type t)
    Parameters
    Type Name Description
    System.Type t
    Returns
    Type Description
    Component

    GetComponentInChildren<T>()

    Declaration
    T GetComponentInChildren<T>()
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetComponentInParent(Type)

    Declaration
    Component GetComponentInParent(Type t)
    Parameters
    Type Name Description
    System.Type t
    Returns
    Type Description
    Component

    GetComponentInParent<T>()

    Declaration
    T GetComponentInParent<T>()
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetComponents(Type)

    Declaration
    Component[] GetComponents(Type t)
    Parameters
    Type Name Description
    System.Type t
    Returns
    Type Description
    Component[]

    GetComponents<T>()

    Declaration
    T[] GetComponents<T>()
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T

    GetComponentsInChildren(Type, Boolean)

    Declaration
    Component[] GetComponentsInChildren(Type t, bool includeInactive = false)
    Parameters
    Type Name Description
    System.Type t
    System.Boolean includeInactive
    Returns
    Type Description
    Component[]

    GetComponentsInChildren<T>(Boolean)

    Declaration
    T[] GetComponentsInChildren<T>(bool includeInactive = false)
    Parameters
    Type Name Description
    System.Boolean includeInactive
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T

    GetComponentsInParent(Type, Boolean)

    Declaration
    Component[] GetComponentsInParent(Type t, bool includeInactive = false)
    Parameters
    Type Name Description
    System.Type t
    System.Boolean includeInactive
    Returns
    Type Description
    Component[]

    GetComponentsInParent<T>(Boolean)

    Declaration
    T[] GetComponentsInParent<T>(bool includeInactive = false)
    Parameters
    Type Name Description
    System.Boolean includeInactive
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T

    GetHeightMultiplier()

    Declaration
    float GetHeightMultiplier()
    Returns
    Type Description
    System.Single

    SetHeightMultiplier(Single, Single, CharacterResizePoint)

    Declaration
    void SetHeightMultiplier(float multiplier, float duration, CharacterResizePoint point = CharacterResizePoint.Automatic)
    Parameters
    Type Name Description
    System.Single multiplier
    System.Single duration
    CharacterResizePoint point

    SetRootMotionStrength(Single, Single)

    Declaration
    void SetRootMotionStrength(float strength, float blendTime)
    Parameters
    Type Name Description
    System.Single strength
    System.Single blendTime

    Events

    onCurrentStateChanged

    Declaration
    event UnityAction onCurrentStateChanged
    Event Type
    Type Description
    UnityAction
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX