Function Name
|
Module Name |
Input Args |
Output Args |
Explanation |
| void setBoneLength(int boneIdx, float newValue) |
Core/Controller_HumanScale |
(int) boneIdx(float) newValue |
-- |
Update length of specific bone in dictionary boneLengthDict |
| float getBoneLength(int boneIdx) |
Core/Controller_HumanScale |
(int) boneIdx |
float |
Return length of specific bone from dictionary boneLengthDict |
| void setJointPosition(int jointIdx, Vector3 newValue) |
Core/Controller_HumanScale |
(int) jointIdx(Vector3) newValue |
-- |
Update position of specific joint in dictionary jointPositionDict |
| Vector3 getJointPosition(int jointIdx) |
Core/Controller_HumanScale |
(int) jointIdx |
Vector3 |
Return position of specific joint from dictionary jointPositionDict |
| void updateBoneLength() |
Core/Controller_HumanScale |
-- |
-- |
Update length of all bones according to positions of joints stored in dictionary jointPositionDict |
| void DrawSkeleton() |
Core/Controller_HumanScale |
-- |
-- |
Draw skeleton in Unity Game view for visualization only |
| float GetEyeHeight() |
Core/Controller_HumanScale |
-- |
float |
Return height of eye according to arm length |
| void setArmLength(float newLength) |
Core/Controller_HumanScale |
(float) newLength |
-- |
Update arm length |
| float getArmLength() |
Core/Controller_HumanScale |
-- |
float |
Return arm length |