Click or drag to resize

SkeletonSetBoneParent Method

Sets the bone index parent_idx as the parent of the bone at bone_idx. If -1, then bone has no parent.

Note: parent_idx must be less than bone_idx.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetBoneParent(
	int boneIdx,
	int parentIdx
)

Parameters

boneIdx
Type: SystemInt32

[Missing <param name="boneIdx"/> documentation for "M:Godot.Skeleton.SetBoneParent(System.Int32,System.Int32)"]

parentIdx
Type: SystemInt32

[Missing <param name="parentIdx"/> documentation for "M:Godot.Skeleton.SetBoneParent(System.Int32,System.Int32)"]

See Also