Click or drag to resize

AnimationTreePlayerTimescaleNodeSetScale Method

Sets the time scale of the TimeScale node with name id to scale.

The TimeScale node is used to speed Animations up if the scale is above 1 or slow them down if it is below 1.

If applied after a blend or mix, affects all input animations to that blend or mix.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void TimescaleNodeSetScale(
	string id,
	float scale
)

Parameters

id
Type: SystemString

[Missing <param name="id"/> documentation for "M:Godot.AnimationTreePlayer.TimescaleNodeSetScale(System.String,System.Single)"]

scale
Type: SystemSingle

[Missing <param name="scale"/> documentation for "M:Godot.AnimationTreePlayer.TimescaleNodeSetScale(System.String,System.Single)"]

See Also