| DAZ Script |
|---|
| DzSceneHelper () |
TODO: Add detailed description.
Array : collectNodes( Boolean selectedOnly, Boolean boneTopSelected, Boolean boneSkeleton )
Parameter(s):
boneTopSelected.Return Value:
DzERCLink : createLink( DzNode bone, String propertyName, DzNode controlBone, String controllerName, Number type, Number scalar, Number addend )
Parameter(s):
Return Value:
See Also:
DzMorph : createMorph( DzNode bone, String name, Array deltas, Boolean overwrite )
Parameter(s):
name.Return Value:
See Also:
DzProperty : findControlProperty( String propertyName, DzNode node, Boolean recurse, Boolean nameLabelMatch=false )
Parameter(s):
propertyName on.node is a DzSkeleton and propertyName cannot be found using findPropertyInGroup(), determines whether to attempt locating propertyName on one of the DzBone owned by the skeleton.propertyName.Return Value:
See Also:
DzProperty : findProperty( String propName, DzElement elem )
Parameter(s):
Return Value:
Since:
DzProperty : findPropertyByInternalName( String internalName, DzElement elem )
Parameter(s):
Return Value:
Since:
DzProperty : findPropertyByLabel( String label, DzElement elem )
Parameter(s):
Return Value:
Since:
DzProperty : findPropertyInGroup( String propertyName, DzPropertyGroup group, Boolean traverse, Boolean recurse, Boolean nameLabelMatch=false )
Parameter(s):
propertyName in.propertyName cannot be found in group, determines whether to attempt locating propertyName in the DzPropertyGroup siblings of group.propertyName cannot be found in group, determines whether to attempt locating propertyName in the DzPropertyGroup children of group.propertyName.Return Value:
DzProperty : findPropertyOnMaterial( String propName, DzMaterial material )
Parameter(s):
Return Value:
Since:
DzProperty : findPropertyOnMaterialByInternalName( String internalName, DzMaterial material )
Parameter(s):
Return Value:
Since:
DzProperty : findPropertyOnMaterialByLabel( String label, DzMaterial material )
Parameter(s):
Return Value:
Since:
DzProperty : findPropertyOnNode( String propName, DzNode node )
Parameter(s):
Return Value:
DzProperty : findPropertyOnNodeByInternalName( String internalName, DzNode node )
Parameter(s):
Return Value:
DzProperty : findPropertyOnNodeByLabel( String label, DzNode node )
Parameter(s):
Return Value:
DzMaterial : getDisplayMaterial( DzProperty prop )
Parameter(s):
Return Value:
prop.Since:
DzNode : getDisplayNode( DzProperty prop )
Parameter(s):
Return Value:
prop.Since:
DzERCLink : getErcController( DzProperty controlledProp, DzProperty controllingProp )
Parameter(s):
Return Value:
controlledProp that has the same property as controllingProp. If either parameter is null, or controlledProp does not have a controller that has the same property as controllingProp, NULL.String : getInternalName( DzProperty prop )
Parameter(s):
Return Value:
prop (or its alias target), or “Unknown”.String : getLabel( DzProperty prop )
Parameter(s):
Return Value:
prop, or an empty string.DzMaterial : getMaterial( DzProperty prop )
Parameter(s):
Return Value:
prop.Since:
String : getMaterialName( DzProperty prop )
Parameter(s):
Return Value:
Since:
String : getMaterialType( DzProperty prop )
Parameter(s):
Return Value:
prop; “General”, “Simulation Settings” or “Unknown”.Since:
Number : getMax( DzProperty prop )
Gets the maximum value for prop.
Parameter(s):
Return Value:
Number : getMin( DzProperty prop )
Gets the minimum value for prop.
Parameter(s):
Return Value:
DzNode : getNode( DzProperty prop )
Parameter(s):
Return Value:
prop.String : getNodeName( DzProperty prop )
Parameter(s):
Return Value:
String : getNodeType( DzProperty prop )
Parameter(s):
Return Value:
prop; “Transform”, “General”, “Morph”, “DFormer”, “Poser Joint” or “Unknown”.Array : getPrivatePropertiesOnNode( DzProperty prop )
Parameter(s):
Return Value:
prop is associated with.Since:
Array : getPrivatePropertiesOnNode( DzNode node )
Parameter(s):
Return Value:
node.Since:
Array : getPropertiesOnElement( DzElement elem )
Parameter(s):
Return Value:
elem.Since:
Array : getPropertiesOnMaterial( DzProperty prop, Boolean includeProviders=true )
Parameter(s):
Return Value:
prop is associated with.Since:
Array : getPropertiesOnMaterial( DzMaterial material, Boolean includeProviders=true )
Parameter(s):
Return Value:
material.Since:
Array : getPropertiesOnNode( DzProperty prop, Boolean includeModifiers=true )
Parameter(s):
Return Value:
prop is associated with.Since:
Array : getPropertiesOnNode( DzNode node, Boolean includeModifiers=true )
Parameter(s):
Return Value:
node.Since:
Array : getRegionPropertiesOnNode( DzNode node )
Parameter(s):
Return Value:
node.Since:
Array : getRegionPropertiesRecurse( geometryregion_dz region )
Parameter(s):
Return Value:
region.Since:
String : getUniqueMorphName( DzNode node, String name )
Parameter(s):
Return Value:
Boolean : helperCanRemove( DzProperty prop )
Parameter(s):
Return Value:
true if the the helper can remove prop, otherwise false.Since:
Boolean : helperRemoveProperty( DzProperty prop )
Parameter(s):
Return Value:
true if the helper successfully removed the property, otherwise false.Since:
Boolean : isAtDefaultValue( DzProperty prop )
Parameter(s):
Return Value:
true if prop inherits DzNumericProperty and its raw and default values are the same, otherwise false.Boolean : isControlledByTransform( DzProperty prop, Boolean recurse=true )
Parameter(s):
true (default), the controller hierarchy is recursed.Return Value:
true if prop is controlled by a transform property, otherwise false.Since:
DzProperty : isDFormModProperty( DzProperty prop )
Parameter(s):
Return Value:
DzProperty : isLegacyJointProperty( DzProperty prop )
Parameter(s):
Return Value:
Boolean : isLegacyProperty( DzProperty prop )
Parameter(s):
Return Value:
true if the given property (or its alias target) is a legacy property (internal name begins with PBMCC or PBMDC), otherwise false.DzProperty : isMaterialProperty( DzProperty prop )
Parameter(s):
Return Value:
Since:
DzProperty : isModifierProperty( DzProperty prop )
Parameter(s):
Return Value:
DzProperty : isMorphProperty( DzProperty prop )
Parameter(s):
Return Value:
DzProperty : isNodeProperty( DzProperty prop )
Parameter(s):
Return Value:
DzProperty : isSimulationSettingsProviderProperty( DzProperty prop )
Parameter(s):
Return Value:
Since:
Boolean : isTransform( DzProperty prop )
Parameter(s):
Return Value:
true if the given property is a transform property, otherwise false.Since:
DzProperty : isTransformProperty( DzProperty prop )
Parameter(s):
Return Value:
Boolean : setInternalName( DzProperty prop, String name )
Attempts to rename prop to name. If the property is a morph property or a DForm modifier property then the modifier is renamed to name. If any other property associated with the node that this property is associated with has the same internal name as name, this method returns false.
Parameter(s):
Return Value:
true if the rename was successful, otherwise false.void : setMax( DzProperty prop, Number max )
Sets the maximum value for prop. This method only applies if prop is non-null and inherits either DzFloatProperty or DzIntProperty. Otherwise this method has no effect.
Parameter(s):
void : setMin( DzProperty prop, Number min )
Sets the minimum value for prop. This method only applies if prop is non-null and inherits either DzFloatProperty or DzIntProperty. Otherwise this method has no effect.
Parameter(s):
void : setMinMax( DzProperty prop, Number min, Number max )
Essentially behaves the same as calling both DzSceneHelper::setMin() and DzSceneHelper::setMax().
Parameter(s):
void : setPropertyPath( DzProperty prop, String inPath )
Sets the DzPropertyGroup path (and appropriate geometryregion_dz) for the given property.
Parameter(s):
void : setUniqueName( DzNode node, String name )
Sets the name of node to a unique version of name.
Parameter(s):