PaintTexture
Node allows to paint/blend images on the given canvas image. The node blends the brush texture into the canvas texture on every paint event.
Inheritance
Code
XML encoding
<PaintTexture paintColor='1 1 1 1' paintTransparency='0' paintZ='0' logFeature='' />
Classic encoding
PaintTexture { paintColor 1 1 1 1 paintTransparency 0 paintZ 0 logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
textureProperties | SFNode | initializeOnly | TextureProperties | Definition of a texture property set. When set, the corresponding fields like repeat etc of the texture itself are ignored. | ||
clear | XFAny | inputOnly | reset the image to the given canvas data | |||
paint | MFVec3f | inputOnly | evenIn slot to paint/blend a new brush copy onto the canvas image,range from 0,0,0 to 1,1,1 | |||
brush | SFNode | inputOutput | SingleTexture | the 1D/2D/3D image brush | ||
canvas | SFNode | inputOutput | SingleTexture | canvas image which is uses as backround source. the image will not be manipulated while painting. The node creates a copy of the canvas image first | ||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
paintColor | SFColorRGBA | inputOutput | 1 1 1 1 | The additional color which is used while painting/blending | ||
paintTransparency | SFFloat | inputOutput | 0 | [0, 1] | the additinal transparency/alpha scale which is used while painting/blending | |
paintZ | SFFloat | inputOutput | 0 | [0, 1] | z coordinate used if the canvas source image is a 3d-texture | |
image_changed | SFImage | outputOnly | sends a singe image on change |