Implements the logic of 'baking' a numeric property to the numeric properties it controls.
Inherits :
DAZ Script |
---|
DzERCBake () |
DAZ Script | |
---|---|
Boolean | doBake () |
Boolean | doBakeKeyed ( Boolean warn ) |
DzNumericProperty | getControllerProperty () |
void | setControllerProperty ( DzNumericProperty prop ) |
void | ERCChanged () |
This utility class implements the logic of 'baking' (unlinking) the current state of a controller property on a node to the numeric properties it controls, such that the controlled properties remain at the respective values they were at in that moment of time. The DzERCLink between the 'baked' properties and the controller is removed.
The controller property (the DzNumericProperty that does the controlling) must be set before calling doBake(); see setControllerProperty().
See Also:
Attention:
Since:
Performs the ERC bake based on the current settings.
Return Value:
true
if the bake operation was successful, otherwise false
.Boolean : doBakeKeyed( Boolean warn )
Performs the ERC bake based on the current settings.
Return Value:
true
if the bake operation was successful, otherwise false
.DzNumericProperty : getControllerProperty()
Return Value:
void : setControllerProperty( DzNumericProperty prop )
Sets the property that controls the properties that will be baked when doBake() is called.
Parameter(s):