GodotSharpAPI
GodotSharpAPI
Godot
Vector2 Structure
Vector2 Methods
Abs Method
Angle Method
AngleTo Method
AngleToPoint Method
Aspect Method
Bounce Method
Ceil Method
Clamped Method
Cross Method
CubicInterpolate Method
DirectionTo Method
DistanceSquaredTo Method
DistanceTo Method
Dot Method
Equals Method
Floor Method
GetHashCode Method
Inverse Method
IsEqualApprox Method
IsNormalized Method
Length Method
LengthSquared Method
LinearInterpolate Method
MaxAxis Method
MinAxis Method
MoveToward Method
Normalized Method
Perpendicular Method
PosMod Method
Project Method
Reflect Method
Rotated Method
Round Method
Set Method
Sign Method
Slerp Method
Slide Method
Snapped Method
Tangent Method
ToString Method
Vector2
Length Method
Returns the length (magnitude) of this vector.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
Copy
public
float
Length
()
Return Value
Type:
Single
The length of this vector.
See Also
Reference
Vector2 Structure
Godot Namespace