Transform2D.InterpolateWith Method |
Interpolates this transform to the other `transform` by `weight`.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntaxpublic Transform2D InterpolateWith(
Transform2D transform,
float weight
)
Parameters
- transform
- Type: Godot.Transform2D
The other transform. - weight
- Type: System.Single
A value on the range of 0.0 to 1.0, representing the amount of interpolation.
Return Value
Type:
Transform2DThe interpolated transform.
See Also