new DuOCOLimb(limb, side, location, type)
D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 13715
Creates a new OCO Limb.
Name | Type | Default | Description |
---|---|---|---|
limb |
DuOCO.Limb | DuOCO.Limb.CUSTOM | optional A Predefined limb |
side |
DuOCO.Side | DuOCO.Side.NONE | optional The side of the limb |
location |
DuOCO.Location | DuOCO.Location.NONE | optional The location of the limb |
type |
DuOCO.LimbType | DuOCO.LimbType.CUSTOM | optional The type of the limb |
Members
-
staticDuOCOLimb.limbDuOCO.Limb
-
The predefined limb
-
staticDuOCOLimb.limbsArray.<DuOCOLimb>
-
The limbs/ Armatures
-
staticDuOCOLimb.locationDuOCO.Location
-
The location of the limb
-
staticDuOCOLimb.locationArray.<DuOCOBone>
-
The bones of the limb
-
staticDuOCOLimb.sideDuOCO.Side
-
The sided of the limb
-
staticDuOCOLimb.typeDuOCO.LimbType
-
The type of the limb
Methods
-
bounds(){Array.<float>}
D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 13758 -
Gets the boundaries of the limb
Returns:
Type Description Array.<float> [left, top, right, bottom] -
newArmature(name, num, length){DuOCOBone}
D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 13770 -
Creates a new chain of bones and adds it to the limb.
Name Type Default Description name
string The name of the bones (will increment if needed) num
int 2 optional The number of bones in the chain length
float 100.0 optional The length in centimeters Returns:
Type Description DuOCOBone The root bone.