Skip to main content

Class ActorSpeedMessage

Represents a message containing the speed of an actor. This message is used to notify other systems or components, such as a speedometer, about the actor's current speed.

public class ActorSpeedMessage : IMessage

Inheritance​

Implements​

IMessage

Constructors​

ActorSpeedMessage(float)​

Initializes a new instance of the ActorSpeedMessage class message.

public ActorSpeedMessage(float speed)

Parameters​

NameTypeDescription
speedfloatThe actor's speed.

Fields​

speed​

The raw speed of the actor in meters per second.

public float speed

Field Value​

float