Methods to load and create OCO Documents and armatures
Members
-
staticDuOCO.Bonestring
-
Some bone identifierss
Properties:
Name Type Default Description CUSTOMstring custom TIPstring tip CLAVICLEstring clavicle HUMERUSstring humerus RADIUSstring radius CARPUSstring carpus FINGERstring finger HEELstring heel FEMURstring femur TIBIAstring tibia TARSUSstring tarsus TOEstring toe HIPSstring hips SPINEstring spine NECKstring neck SKULL_TIPstring skullTip SKULLstring skull TAIL_ROOTstring tail1 TAIL_MIDstring tail2 TAIL_ENDstring tail3 FEATHERstring feather SNAKE_SPINE_ROOTstring snakeSpine1 SNAKE_SPINE_MIDstring snakeSpine2 SNAKE_SPINE_ENDstring snakeSpine3 FISH_SPINE_ROOTstring fishSpine1 FISH_SPINE_MIDstring fishSpine2 FISH_SPINE_ENDstring fishSpine3 HAIR_ROOTstring snakeSpine1 HAIR_MIDstring snakeSpine2 HAIR_ENDstring snakeSpine3 FINstring fin FIN_FISHBONEstring finBone -
staticDuOCO.Limbstring
-
Predefined limbs
Properties:
Name Type Default Description SPINEstring spine ARMstring arm LEGstring leg TAILstring tail WINGstring wing HAIRstring hair SNAKE_SPINEstring snakeSpine FISH_SPINEstring fishSpine FINstring fin CUSTOMstring custom -
staticDuOCO.LimbTypestring
-
Types of limbs
Properties:
Name Type Default Description HOMINOIDstring hominoid PLANTIGRADEstring plantigrade DIGITIGRADEstring digitigrade UNGULATEstring ungulate ARTHROPODstring arthropod CUSTOMstring custom -
staticDuOCO.Locationstring
-
Locations for the limbs. Use these with
DuOCO.Sideto differenciate similar limbs,
for example, a leg can be Front-Right, Front-Left, Back-Right, Back-Left, etc.Properties:
Name Type Default Description FRONTstring DuScriptUI.String.FRONT_SHORT BACKstring DuScriptUI.String.BACK_LOCATION_SHORT TAILstring DuScriptUI.String.TAIL_SHORT MIDDLEstring DuScriptUI.String.MIDDLE_SHORT ABOVEstring DuScriptUI.String.ABOVE_SHORT UNDERstring DuScriptUI.String.UNDER_SHORT NONEstring -
staticDuOCO.Sidestring
-
Sides for the limbs Use these with
DuOCO.Locationto differenciate similar limbs,
for example, a leg can be Front-Right, Front-Left, Back-Right, Back-Left, etc.Properties:
Name Type Default Description LEFTstring DuScriptUI.String.LEFT_SHORT RIGHTstring DuScriptUI.String.RIGHT_SHORT NONEstring -
staticDuOCO.Typestring
-
Types of OCO armatures
Properties:
Name Type Default Description METAstring meta A meta-rig, used to automatically create a default armature to be used with an auto-rig. CHARACTERstring character An actual (rigged) character.
Methods
-
staticDuOCO.getBounds(armature){Array.<float>}
D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 12387 -
Gets the boundaries of an armature (a chain of bones)
Name Type Description armatureArray.<DuOCOBone> The chain of bones Returns:
Type Description Array.<float> [left, top, right, bottom]