Class PlayerAnimationState
Namespace: ValveResourceFormat.Renderer.Gameplay
Assembly: Renderer.dll
csharp
public sealed class PlayerAnimationStateInheritance
object ← PlayerAnimationState
Properties
AimPitch
csharp
public float AimPitch { get; }Property Value
float
AimYaw
csharp
public float AimYaw { get; }Property Value
float
BodyYaw
csharp
public float BodyYaw { get; }Property Value
float
CurrentAirAction
csharp
public PlayerAnimationState.AirAction CurrentAirAction { get; }Property Value
PlayerAnimationState.AirAction
CurrentMoveType
csharp
public PlayerAnimationState.MoveType CurrentMoveType { get; }Property Value
GroundActionDirection
csharp
public PlayerAnimationState.Direction GroundActionDirection { get; }Property Value
PlayerAnimationState.Direction
GroundState
csharp
public PlayerAnimationState.GroundMoveState GroundState { get; }Property Value
PlayerAnimationState.GroundMoveState
HorizontalSpeed
csharp
public float HorizontalSpeed { get; }Property Value
float
LocalVelocity
csharp
public Vector2 LocalVelocity { get; }Property Value
MoveDirection
csharp
public PlayerAnimationState.Direction MoveDirection { get; }Property Value
PlayerAnimationState.Direction
PreviousHorizontalSpeed
csharp
public float PreviousHorizontalSpeed { get; }Property Value
float
TurnOnSpotAngle
csharp
public float TurnOnSpotAngle { get; }Property Value
float
TurnVelocity
csharp
public float TurnVelocity { get; }Property Value
float
Methods
GetDirection(Vector2)
csharp
public static PlayerAnimationState.Direction GetDirection(Vector2 forwardLeft)Parameters
forwardLeft Vector2
Returns
PlayerAnimationState.Direction
Update(in Input, float)
csharp
public void Update(in PlayerAnimationState.Input input, float deltaTime)Parameters
input PlayerAnimationState.Input
deltaTime float

