Skip to main content
Version: 0.3.1

Struct AnimationComponent

Namespace: ReadyM.Wukong.Common.ECS.Components
Assembly: ReadyM.Wukong.Common.dll

Holds entity movement animation state.

public struct AnimationComponent : IComponent, INetSerializable

Implements​

IComponent, INetSerializable

Inherited Members​

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties​

MoveAcceleration​

public Vector3 MoveAcceleration { get; set; }

Property Value​

Vector3

MoveSpeedLevel​

public byte MoveSpeedLevel { get; set; }

Property Value​

byte

MoveSpeedState​

public byte MoveSpeedState { get; set; }

Property Value​

byte

ShouldWaitRotateFinished​

public bool ShouldWaitRotateFinished { get; set; }

Property Value​

bool

Velocity​

public Vector3 Velocity { get; set; }

Property Value​

Vector3

Methods​

Assign(in AnimationComponent)​

public void Assign(in AnimationComponent value)

Parameters​

value AnimationComponent

Deserialize(NetDataReader)​

public void Deserialize(NetDataReader reader)

Parameters​

reader NetDataReader

Serialize(NetDataWriter)​

public void Serialize(NetDataWriter writer)

Parameters​

writer NetDataWriter

  • Properties
    • MoveAcceleration
    • MoveSpeedLevel
    • MoveSpeedState
    • ShouldWaitRotateFinished
    • Velocity
  • Methods
    • Assign(in AnimationComponent)
    • Deserialize(NetDataReader)
    • Serialize(NetDataWriter)