Click or drag to resize

AnimationTransformTrackInsertKey Method

Insert a transform key for a transform track.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int TransformTrackInsertKey(
	int trackIdx,
	float time,
	Vector3 location,
	Quat rotation,
	Vector3 scale
)

Parameters

trackIdx
Type: SystemInt32

[Missing <param name="trackIdx"/> documentation for "M:Godot.Animation.TransformTrackInsertKey(System.Int32,System.Single,Godot.Vector3,Godot.Quat,Godot.Vector3)"]

time
Type: SystemSingle

[Missing <param name="time"/> documentation for "M:Godot.Animation.TransformTrackInsertKey(System.Int32,System.Single,Godot.Vector3,Godot.Quat,Godot.Vector3)"]

location
Type: GodotVector3

[Missing <param name="location"/> documentation for "M:Godot.Animation.TransformTrackInsertKey(System.Int32,System.Single,Godot.Vector3,Godot.Quat,Godot.Vector3)"]

rotation
Type: GodotQuat

[Missing <param name="rotation"/> documentation for "M:Godot.Animation.TransformTrackInsertKey(System.Int32,System.Single,Godot.Vector3,Godot.Quat,Godot.Vector3)"]

scale
Type: GodotVector3

[Missing <param name="scale"/> documentation for "M:Godot.Animation.TransformTrackInsertKey(System.Int32,System.Single,Godot.Vector3,Godot.Quat,Godot.Vector3)"]

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.Animation.TransformTrackInsertKey(System.Int32,System.Single,Godot.Vector3,Godot.Quat,Godot.Vector3)"]

See Also