From f3af3aedfe7ed72ecf6671439ebe00e03f86ed8c Mon Sep 17 00:00:00 2001 From: Silc Renew Date: Tue, 5 Jul 2022 14:04:17 +0900 Subject: add rest fixer to importer retarget --- doc/classes/SkeletonProfile.xml | 79 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/SkeletonProfile.xml b/doc/classes/SkeletonProfile.xml index 55a2ea6759..a7f5f7a0a6 100644 --- a/doc/classes/SkeletonProfile.xml +++ b/doc/classes/SkeletonProfile.xml @@ -9,6 +9,13 @@ + + + + + Returns the bone index that matches [code]bone_name[/code] as its name. + + @@ -17,6 +24,20 @@ In the retargeting process, the returned bone name is the bone name of the target skeleton. + + + + + Returns the name of the bone which is the parent to the bone at [code]bone_idx[/code]. The result is empty if the bone has no parent. + + + + + + + Returns the name of the bone which is the tail of the bone at [code]bone_idx[/code]. + + @@ -39,6 +60,20 @@ This is the offset with origin at the top left corner of the square. + + + + + Returns the reference pose transform for bone [code]bone_idx[/code]. + + + + + + + Returns the tail direction of the bone at [code]bone_idx[/code]. + + @@ -55,6 +90,22 @@ In the retargeting process, the setting bone name is the bone name of the target skeleton. + + + + + + Sets the bone with name [code]bone_parent[/code] as the parent of the bone at [code]bone_idx[/code]. If an empty string is passed, then the bone has no parent. + + + + + + + + Sets the bone with name [code]bone_tail[/code] as the tail of the bone at [code]bone_idx[/code]. + + @@ -80,6 +131,23 @@ This is the offset with origin at the top left corner of the square. + + + + + + Sets the reference pose transform for bone [code]bone_idx[/code]. + + + + + + + + Sets the tail direction of the bone at [code]bone_idx[/code]. + [b]Note:[/b] This only specifies the method of calculation. The actual coordinates required should be stored in an external skeleton, so the calculation itself needs to be done externally. + + @@ -103,4 +171,15 @@ + + + Direction to the average coordinates of bone children. + + + Direction to the coordinates of specified bone child. + + + Direction is not calculated. + + -- cgit v1.2.3