Click or drag to resize

SkeletonGetBoneParent Method

Returns the bone index which is the parent of the bone at bone_idx. If -1, then bone has no parent.

Note: The parent bone returned will always be less than bone_idx.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int GetBoneParent(
	int boneIdx
)

Parameters

boneIdx
Type: SystemInt32

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

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.Skeleton.GetBoneParent(System.Int32)"]

See Also