DAZ Script |
---|
DzObject () |
DAZ Script | |
---|---|
DzError | addModifier ( DzModifier modifier, Number index=-1 ) |
DzError | addShape ( DzShape shape, Number index=-1 ) |
DzModifier | findModifier ( String name ) |
Number | findModifierIndex ( DzModifier mod ) |
Number | findModifierIndexFromEnd ( DzModifier mod ) |
void | forceCacheUpdate ( DzNode node, Boolean isRender=false ) |
DzBox3 | getBoundingBox () |
DzVertexMesh | getCachedGeom () |
DzShape | getCurrentShape () |
DzEnumProperty | getGeometryControl () |
DzBox3 | getLocalBoundingBox () |
DzOrientedBox3 | getLocalOrientedBox () |
DzModifier | getModifier ( Number which ) |
Number | getNumModifiers () |
Number | getNumShapes () |
DzShape | getShape ( Number which ) |
void | invalidateCache () |
Boolean | isBuildingGeom () |
Boolean | isBuildingGeomValid () |
DzError | moveModifier ( DzModifier modifier, Number index=-1 ) |
DzError | moveShape ( DzShape shape, Number index=-1 ) |
DzError | removeAllModifiers () |
DzError | removeAllShapes () |
DzError | removeModifier ( DzModifier modifier ) |
DzError | removeShape ( Number index ) |
void | aboutToAddModifier ( DzModifier mod ) |
void | aboutToDelete () |
void | aboutToFinalize ( DzVertexMesh mesh ) |
void | cachedGeomFinalized () |
void | cachedGeomInvalidated () |
void | cachedGeomUpdated () |
void | cachedTopologyChanged () |
void | currentShapeSwitched () |
void | drawnDataChanged () |
void | materialListChanged () |
void | materialSelectionChanged () |
void | materialSelectionSetsChanged () |
void | modifierAdded ( DzModifier mod ) |
void | modifierRemoved ( DzModifier mod ) |
void | modifierStackChanged () |
void | shapeAdded ( DzShape shape ) |
void | shapeRemoved ( DzShape shape ) |
void | shapeTopologyChanged () |
void | uvsChanged () |
Responsible for evaluating the geometry pipeline, including caching and drawing of the world-space transformed shape. Can have multiple shapes assigned, though only one can be active at a time.
DzError : addModifier( DzModifier modifier, Number index=-1 )
Adds a modifier to the modifier stack.
Parameter(s):
Return Value:
DzError : addShape( DzShape shape, Number index=-1 )
Add a shape to this object.
Parameter(s):
DzModifier : findModifier( String name )
Parameter(s):
Return Value:
Number : findModifierIndex( DzModifier mod )
Parameter(s):
Return Value:
Number : findModifierIndexFromEnd( DzModifier mod )
Parameter(s):
Return Value:
void : forceCacheUpdate( DzNode node, Boolean isRender=false )
TODO: Add description.
DzBox3 : getBoundingBox()
Return Value:
DzVertexMesh : getCachedGeom()
Return Value:
Attention:
Get the current shape.
Return Value:
DzEnumProperty : getGeometryControl()
Return Value:
DzBox3 : getLocalBoundingBox()
Return Value:
DzOrientedBox3 : getLocalOrientedBox()
Return Value:
DzModifier : getModifier( Number which )
Parameter(s):
Return Value:
Return Value:
Number : getNumShapes()
Return Value:
DzShape : getShape( Number which )
Parameter(s):
Return Value:
void : invalidateCache()
Flags this object to reevaluate its geometry pipeline the next time the cached shape is requested.
Return Value:
true
when this object is currently building, otherwise false
.Since:
Boolean : isBuildingGeomValid()
Return Value:
true
if the geom that this object is currently building is still valid, otherwise false
.Attention:
true
.Since:
DzError : moveModifier( DzModifier modifier, Number index=-1 )
Moves the modifier from its source object to this object's modifier stack. DZ_ILLEGAL_ARGUMENT_ERROR is returned if there is not a modifier, or if the modifier's element parent is not an object. This move is not undo-able.
Parameter(s):
Return Value:
DzError : moveShape( DzShape shape, Number index=-1 )
Moves the given shape from its source object to this object. Operation fails if the shape's element parent is not a different dzobject with this shape in its shape list.
Parameter(s):
Return Value:
DzError : removeAllModifiers()
Removes all the modifiers from the modifier stack.
Return Value:
Remove all shapes from this object.
Return Value:
DzError : removeModifier( DzModifier modifier )
Removes a modifier from the modifier stack.
Parameter(s):
Return Value:
DzError : removeShape( Number index )
Remove a shape from this object.
Parameter(s):
Return Value:
void : aboutToAddModifier( DzModifier mod )
Signature:“aboutToAddModifier(DzModifier*)”
Emitted when a modifier is about to be added to this object.
Parameter(s):
void : aboutToDelete()
Signature:“aboutToDelete()”
Emitted when this object is about to be deleted.
void : aboutToFinalize( DzVertexMesh mesh )
Signature:“aboutToFinalize(const DzVertexMesh*)”
Emitted when the vertex mesh for this object is about to be finalized.
Parameter(s):
void : cachedGeomFinalized()
Signature:“cachedGeomFinalized()”
Emitted when the cached geometry for this object has been finalized.
void : cachedGeomInvalidated()
Signature:“cachedGeomInvalidated()”
Emitted when the cached geometry for this object has been invalidated.
void : cachedGeomUpdated()
Signature:“cachedGeomUpdated()”
Emitted when the cached geometry for this object has been updated.
void : cachedTopologyChanged()
Signature:“cachedTopologyChanged()”
Emitted when the cached topology for this object has changed.
void : currentShapeSwitched()
Signature:“currentShapeSwitched()”
Emitted when the current shape is swapped out.
void : drawnDataChanged()
Signature:“drawnDataChanged()”
Emitted when this object needs to be redrawn.
void : materialListChanged()
Signature:“materialListChanged()”
Emitted when the material list for the current shape changes.
void : materialSelectionChanged()
Signature:“materialSelectionChanged()”
Emitted when the material selection state for the current shape changes.
void : materialSelectionSetsChanged()
Signature:“materialSelectionSetsChanged()”
Emitted when the material selection state for the current shape changes.
void : modifierAdded( DzModifier mod )
Signature:“modifierAdded(DzModifier*)”
Emitted when a modifier is added to this object.
Parameter(s):
void : modifierRemoved( DzModifier mod )
Signature:“modifierRemoved(DzModifier*)”
Emitted when a modifier is removed from this object.
Parameter(s):
void : modifierStackChanged()
Signature:“modifierStackChanged()”
Emitted when a modifier is added to or removed from this object.
void : shapeAdded( DzShape shape )
Signature:“shapeAdded(DzShape*)”
Emitted when a shape is added to this object.
Parameter(s):
void : shapeRemoved( DzShape shape )
Signature:“shapeRemoved(DzShape*)”
Emitted when a shape is removed from this object.
Parameter(s):
void : shapeTopologyChanged()
Signature:“shapeTopologyChanged()”
Emitted when the topology of the current shape for this object has changed.
void : uvsChanged()
Signature:“uvsChanged()”
Emitted when the current uv set for the object has changed.