Click or drag to resize

Transform2DTranslated Method

Translates the transform by the given `offset`, relative to the transform's basis vectors. Unlike Rotated(Single) and Scaled(Vector2), this does not use matrix multiplication.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Transform2D Translated(
	Vector2 offset
)

Parameters

offset
Type: GodotVector2
The offset to translate by.

Return Value

Type: Transform2D
The translated matrix.
See Also