DAZ Script | |
---|---|
Boolean | hasPendingChanges |
DAZ Script | |
---|---|
DzGeometry | getCurrentGeometryForNode ( DzNode node ) |
DAZ Script | |
---|---|
void | beginEdit ( Boolean enableUndo=true ) |
void | cancelEdit () |
Boolean | copyFrom ( DzVertexMesh mesh, Boolean shareVerts=false, Boolean shareFacets=true ) |
void | finishEdit () |
DzBox3 | getBoundingBox () |
DzBox3 | getGroupBoundingBox ( String groupName, DzMatrix3 transform ) |
DzBox3 | getGroupBoundingBox ( String groupName ) |
DzOrientedBox3 | getGroupOrientedBox ( String groupName, DzMatrix3 transform, DzVec3 pos, DzQuat rot, DzVec3 scale ) |
DzOrientedBox3 | getGroupOrientedBox ( String groupName, DzVec3 pos, DzQuat rot, DzVec3 scale ) |
Number | getNumUVSets () |
Number | getNumVertices () |
DzOrientedBox3 | getOrientedBox ( DzVec3 pos, DzQuat rot, DzVec3 scale ) |
Number | getUniqueId () |
DzMap | getUVs () |
DzUVSet | getUVSet ( Number which ) |
Boolean | isEmpty () |
Boolean | isRuntimeGenerated () |
void | rotate ( DzQuat rot ) |
void | scale ( DzVec3 vec ) |
void | scale ( Number scalar ) |
void | transform ( DzMatrix3 matrix ) |
void | translate ( DzVec3 vec ) |
void | needRebuild ( Boolean onOff ) |
void | visibilityChanged () |
The base class for all mesh and geometry objects that can be referenced by DzShape, passed through the geometry pipeline, and drawn in the 3d view.
DzGeometry : getCurrentGeometryForNode( DzNode node )
Parameter(s):
Return Value:
node
, or NULL if node
has no geometry associated with it.Since:
void : beginEdit( Boolean enableUndo=true )
Parameter(s):
true
, operations performed on the geometry after this call will be undoable.Begin an edit operation on the geometry. Most meshes will require that this function is called before any topology change (i.e., adding/removing vertices, polygons, etc).
Attention:
void : cancelEdit()
Cancel the current edit operation on the geometry.
Boolean : copyFrom( DzVertexMesh mesh, Boolean shareVerts=false, Boolean shareFacets=true )
Parameter(s):
true
, the vertex list will be shared between the given mesh and this mesh. If false
, the vertex list will be a deep copy.true
, the facet set will be shared between the given mesh and this mesh. If false
, the facet set will be a deep copy.Return Value:
true
if this geometry is a copy of mesh
(either already or as a result of this operation), otherwise false
.Since:
void : finishEdit()
Finish the current edit operation on the geometry.
DzBox3 : getBoundingBox()
Return Value:
DzBox3 : getGroupBoundingBox( String groupName, DzMatrix3 transform )
Parameter(s):
Return Value:
groupName
(if any), transformed according to transform
.DzBox3 : getGroupBoundingBox( String groupName )
Parameter(s):
Return Value:
groupName
(if any).DzOrientedBox3 : getGroupOrientedBox( String groupName, DzMatrix3 transform, DzVec3 pos, DzQuat rot, DzVec3 scale )
Parameter(s):
Return Value:
groupName
(if any), transformed according to transform
, pos
, rot
and scale
.DzOrientedBox3 : getGroupOrientedBox( String groupName, DzVec3 pos, DzQuat rot, DzVec3 scale )
Parameter(s):
Return Value:
groupName
(if any), transformed according to pos
, rot
and scale
.Number : getNumUVSets()
Return Value:
Number : getNumVertices()
Return Value:
DzOrientedBox3 : getOrientedBox( DzVec3 pos, DzQuat rot, DzVec3 scale )
Parameter(s):
Return Value:
Parameter(s):
Return Value:
pos
, rot
and scale
.Number : getUniqueId()
Return Value:
Return Value:
DzUVSet : getUVSet( Number which )
Parameter(s):
Return Value:
Return Value:
true
if the geometry is empty, otherwise false
.Boolean : isRuntimeGenerated()
Return Value:
true
if this geometry is generated at runtime (rather than being read from file), otherwise false
.Since:
Rotate this geometry by the given rotation.
Parameter(s):
Scale this geometry by the given vector.
Parameter(s):
Scale this geometry by the given uniform scale.
Parameter(s):
void : transform( DzMatrix3 matrix )
Transforms this geometry through the specified matrix. For multiple operations (i.e., translating and rotating, or rotating, scaling and translating) this method is the most efficient. For individual operations use the translate(), rotate() or scale() methods.
Parameter(s):
void : translate( DzVec3 vec )
Translate this geometry by the given vector.
Parameter(s):
void : needRebuild( Boolean onOff )
Signature:“needRebuild(bool)”
Emitted when the geometry needs to be rebuilt.
Parameter(s):
void : visibilityChanged()
Signature:“visibilityChanged()”
Emitted when the visibility of the geometry has changed.