Skip to main content
Version: 0.4.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

GetChangeComponent()​

public Type GetChangeComponent()

Returns​

Type

MoveAccelerationNotifyChanged(int)​

public void MoveAccelerationNotifyChanged(int id)

Parameters​

id int

MoveSpeedLevelNotifyChanged(int)​

public void MoveSpeedLevelNotifyChanged(int id)

Parameters​

id int

MoveSpeedStateNotifyChanged(int)​

public void MoveSpeedStateNotifyChanged(int id)

Parameters​

id int

Serialize(NetDataWriter)​

public void Serialize(NetDataWriter writer)

Parameters​

writer NetDataWriter

ShouldWaitRotateFinishedNotifyChanged(int)​

public void ShouldWaitRotateFinishedNotifyChanged(int id)

Parameters​

id int

VelocityNotifyChanged(int)​

public void VelocityNotifyChanged(int id)

Parameters​

id int

  • Properties
    • MoveAcceleration
    • MoveSpeedLevel
    • MoveSpeedState
    • ShouldWaitRotateFinished
    • Velocity
  • Methods
    • Assign(in AnimationComponent)
    • Deserialize(NetDataReader)
    • GetChangeComponent()
    • MoveAccelerationNotifyChanged(int)
    • MoveSpeedLevelNotifyChanged(int)
    • MoveSpeedStateNotifyChanged(int)
    • Serialize(NetDataWriter)
    • ShouldWaitRotateFinishedNotifyChanged(int)
    • VelocityNotifyChanged(int)