Click or drag to resize

TweenFollowProperty Method

Follows property of object and applies it on target_property of target, beginning from initial_val for duration seconds, delay seconds later.

Use TweenTransitionType for trans_type and TweenEaseType for ease_type parameters. These values control the timing and direction of the interpolation. See the class description for more information.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public bool FollowProperty(
	Object object,
	NodePath property,
	Object initialVal,
	Object target,
	NodePath targetProperty,
	float duration,
	TweenTransitionType transType = TweenTransitionType.Linear,
	TweenEaseType easeType = TweenEaseType.InOut,
	float delay = 0f
)

Parameters

object
Type: GodotObject

[Missing <param name="object"/> documentation for "M:Godot.Tween.FollowProperty(Godot.Object,Godot.NodePath,System.Object,Godot.Object,Godot.NodePath,System.Single,Godot.Tween.TransitionType,Godot.Tween.EaseType,System.Single)"]

property
Type: GodotNodePath

[Missing <param name="property"/> documentation for "M:Godot.Tween.FollowProperty(Godot.Object,Godot.NodePath,System.Object,Godot.Object,Godot.NodePath,System.Single,Godot.Tween.TransitionType,Godot.Tween.EaseType,System.Single)"]

initialVal
Type: SystemObject

[Missing <param name="initialVal"/> documentation for "M:Godot.Tween.FollowProperty(Godot.Object,Godot.NodePath,System.Object,Godot.Object,Godot.NodePath,System.Single,Godot.Tween.TransitionType,Godot.Tween.EaseType,System.Single)"]

target
Type: GodotObject

[Missing <param name="target"/> documentation for "M:Godot.Tween.FollowProperty(Godot.Object,Godot.NodePath,System.Object,Godot.Object,Godot.NodePath,System.Single,Godot.Tween.TransitionType,Godot.Tween.EaseType,System.Single)"]

targetProperty
Type: GodotNodePath

[Missing <param name="targetProperty"/> documentation for "M:Godot.Tween.FollowProperty(Godot.Object,Godot.NodePath,System.Object,Godot.Object,Godot.NodePath,System.Single,Godot.Tween.TransitionType,Godot.Tween.EaseType,System.Single)"]

duration
Type: SystemSingle

[Missing <param name="duration"/> documentation for "M:Godot.Tween.FollowProperty(Godot.Object,Godot.NodePath,System.Object,Godot.Object,Godot.NodePath,System.Single,Godot.Tween.TransitionType,Godot.Tween.EaseType,System.Single)"]

transType (Optional)
Type: GodotTweenTransitionType

[Missing <param name="transType"/> documentation for "M:Godot.Tween.FollowProperty(Godot.Object,Godot.NodePath,System.Object,Godot.Object,Godot.NodePath,System.Single,Godot.Tween.TransitionType,Godot.Tween.EaseType,System.Single)"]

easeType (Optional)
Type: GodotTweenEaseType

[Missing <param name="easeType"/> documentation for "M:Godot.Tween.FollowProperty(Godot.Object,Godot.NodePath,System.Object,Godot.Object,Godot.NodePath,System.Single,Godot.Tween.TransitionType,Godot.Tween.EaseType,System.Single)"]

delay (Optional)
Type: SystemSingle

[Missing <param name="delay"/> documentation for "M:Godot.Tween.FollowProperty(Godot.Object,Godot.NodePath,System.Object,Godot.Object,Godot.NodePath,System.Single,Godot.Tween.TransitionType,Godot.Tween.EaseType,System.Single)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.Tween.FollowProperty(Godot.Object,Godot.NodePath,System.Object,Godot.Object,Godot.NodePath,System.Single,Godot.Tween.TransitionType,Godot.Tween.EaseType,System.Single)"]

See Also