Property Speed
Speed
Gets the current speed (magnitude of the velocity vector).
public float Speed { get; }
Property Value
- float
The speed in pixels per second, computed as
sqrt(Velocity.X² + Velocity.Y²).
Gets the current speed (magnitude of the velocity vector).
public float Speed { get; }
The speed in pixels per second, computed as sqrt(Velocity.X² + Velocity.Y²).