Transform2DInterpolateWith 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: GodotTransform2D
The other transform. - weight
- Type: SystemSingle
A value on the range of 0.0 to 1.0, representing the amount of interpolation.
Return Value
Type:
Transform2DThe interpolated transform.
See Also