A container that stores the IK chain information for an imported Poser figure.
Inherits :
DAZ Script |
---|
DzLegacyIKChain ( String name=“” ) |
DAZ Script | |
---|---|
void | addLink ( DzNode node, Number weight=1.0, Number index=-1 ) |
void | clearLinks () |
Boolean | getActive () |
DzNode | getGoal () |
String | getLabel () |
DzNode | getLink ( Number index ) |
Number | getLinkWeight ( Number index ) |
Number | getNumLinks () |
void | removeLink ( Number index ) |
void | setActive ( Boolean onOff ) |
void | setGoal ( DzNode node ) |
void | setLabel ( String label ) |
Boolean | setLinkWeight ( Number index, Number weight ) |
This is only intended to be used in conjunction with DzLegacyIKChains. It stores all the information from a single “inkyChain” section of a Poser CR2 file.
See Also:
DzLegacyIKChain( String name=“” )
Default Constructor.
Parameter(s):
Attention:
See Also:
void : addLink( DzNode node, Number weight=1.0, Number index=-1 )
Adds a link to the chain, with the given weight and at the given index. If index is less than 0 or greater than the current link count, the link will be appended.
Parameter(s):
void : clearLinks()
Removes all links from the chain.
Return Value:
Return Value:
Return Value:
DzNode : getLink( Number index )
Parameter(s):
Return Value:
Number : getLinkWeight( Number index )
Parameter(s):
Return Value:
Number : getNumLinks()
Return Value:
void : removeLink( Number index )
Removes the link at the given index from the chain.
Parameter(s):
void : setActive( Boolean onOff )
Sets whether or not the IK chain is set to active by default.
Parameter(s):
true
, the chain will be set to be active by default, otherwise it will be set to be inactive.Sets the goal node of the chain.
Parameter(s):
void : setLabel( String label )
Sets the label for the IK chain.
Parameter(s):
Boolean : setLinkWeight( Number index, Number weight )
Sets the weight of the link at the given index to the given weight.
Parameter(s):