PixelTexture (alias: PixelTexture2D)
Base class for all PixelXDTexture Nodes
Inheritance
Code
XML encoding
<PixelTexture image='0 0 0' logFeature='' />
Classic encoding
PixelTexture { image 0 0 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. | ||
image | SFImage | inputOutput | 0 0 0 | Defines image: width height number_of_components pixel_values. width and height are pixel count, number_of_components = 1 (intensity), 2 (intensity alpha), 3 (red green blue), 4 (red green blue alpha-transparency). intensity example: [1 2 1 0xFF 0x00] intensity-alpha example: [needed] red-green-blue example: [2 4 3 0xFF0000 0xFF00 0 0 0 0 0xFFFFFF 0xFFFF00] red-green-blue-alpha example: [needed] | ||
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 |