A DzElementData implementation that stores the IK chain information of an imported Poser figure.
Inherits :
| DAZ Script | 
|---|
| DzLegacyIKChains () | 
| DAZ Script | |
|---|---|
| void | addChain ( DzLegacyIKChain chain ) | 
| DzLegacyIKChain | getChain ( Number index ) | 
| Number | getNumChains () | 
Implements a custom data item that allows a list of DzLegacyIKChain objects to be associated with a DzLegacyFigure of an imported Poser format figure.
Each DzLegacyIKChain object in the list represents a single “inkyChain” section in the Poser CR2 file from which the figure was loaded.
Can be used as follows to retrieve the IK chains from a Poser format figure that was loaded:
var nChains; var oFigure = Scene.getPrimarySelection(); // ... error checking var oData = oFigure.findDataItem( "PoserIKChains" ); if( oData && oData.inherits( "DzLegacyIKChains" ) ){ nChains = oData.getNumChains(); } print( "legacy IK chains:", nChains );
See Also:
Default Constructor.
Attention:
See Also:
void : addChain( DzLegacyIKChain chain )
Adds an IK chain to this list of IK chains.
Parameter(s):
DzLegacyIKChain : getChain( Number index )
Parameter(s):
Return Value:
Number : getNumChains()
Return Value: