GodotSharpAPI
GodotSharpAPI
Godot
Vector2 Structure
Vector2 Methods
PosMod Method
PosMod Method (Single)
PosMod Method (Vector2)
Vector2
PosMod Method (Single)
Returns a vector composed of the
PosMod(Single, Single)
of this vector's components and `mod`.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
Copy
public
Vector2
PosMod
(
float
mod
)
Parameters
mod
Type:
System
Single
A value representing the divisor of the operation.
Return Value
Type:
Vector2
A vector with each component
PosMod(Single, Single)
by `mod`.
See Also
Reference
Vector2 Structure
PosMod Overload
Godot Namespace