DAZ Script | |
---|---|
BlendMode | { BlendAlpha, BlendAdd, BlendSubtract, BlendMultiply } |
DAZ Script | |
---|---|
void | clearMask () |
DzTextureMask | createMask ( String maskLabel ) |
DzTextureMask | getMask () |
Boolean | needsRefresh () |
void | setMask ( DzTextureMask mask ) |
void | aboutToChangeMask ( DzTextureMask oldMask, DzTextureMask newMask ) |
void | blendModeChanged ( BlendMode mode ) |
void | maskChanged ( DzTextureMask oldMask, DzTextureMask newMask ) |
Layers are used in image editing to manipulate the final values of pixels in an image, in a non-destructive way. Layers exist in a stack. Layers that are higher in the stack impact layers that are lower in the stack. Transparent and/or translucent pixels in one layer allow the pixels in the next lower layer to be revealed.
Layers can also be used to blend the values of pixels together in various ways.
See Also:
The enumerated values of possible blending operations to be performed.
void : clearMask()
Removes any mask that may be on this layer.
DzTextureMask : createMask( String maskLabel )
Creates a mask for this texture layer.
Parameter(s):
Return Value:
DzTextureMask : getMask()
Return Value:
Boolean : needsRefresh()
Return Value:
true
if this texture layer has a mask that needs to be refreshed or this layer has been modified on disk since it was last loaded/updated, otherwise false
.See Also:
void : setMask( DzTextureMask mask )
Sets a mask on this texture layer.
Parameter(s):
void : aboutToChangeMask( DzTextureMask oldMask, DzTextureMask newMask )
Signature:“aboutToChangeMask(DzTextureMask*,DzTextureMask*)”
Emitted just before the mask for the texture layer is changed.
Parameter(s):
void : blendModeChanged( BlendMode mode )
Signature:“blendModeChanged(DzTextureLayer::BlendMode)”
Emitted when the blend mode the texture layer has changed.
Parameter(s):
void : maskChanged( DzTextureMask oldMask, DzTextureMask newMask )
Signature:“maskChanged(DzTextureMask*,DzTextureMask*)”
Emitted when the mask for the texture layer has changed.
Parameter(s):