TextureTransform3D
The TextureTransform3D node specifies a 3D transformation that is applied to texture coordinates. This node affects the way texture coordinates are applied to the geometric surface.
Inheritance
Code
XML encoding
<TextureTransform3D center='0 0 0' rotation='0 0 1 0' scale='1 1 1' translation='0 0 0' scaleOrientation='0 0 1 0' useViewing='FALSE' logFeature='' />
Classic encoding
TextureTransform3D { center 0 0 0 rotation 0 0 1 0 scale 1 1 1 translation 0 0 0 scaleOrientation 0 0 1 0 useViewing FALSE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
center | SFVec3f | inputOutput | 0 0 0 | The center field specifies a translation offset in texture coordinate space about which the rotation and scale fields are applied | ||
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 | ||
rotation | SFRotation | inputOutput | 0 0 1 0 | The rotation field specifies a rotation in radians of the texture coordinates about the center point after the scale has been applied | ||
scale | SFVec3f | inputOutput | 1 1 1 | The scale field specifies a scaling factor in S, T and R of the texture coordinates about the center point | ||
scaleOrientation | SFRotation | inputOutput | 0 0 1 0 | Preliminary rotation of tex-coordinate system before scaling (to allow scaling around arbitrary orientations). | ||
translation | SFVec3f | inputOutput | 0 0 0 | The translation field specifies a translation of the texture coordinates. | ||
useViewing | SFBool | inputOutput | FALSE | If true the rotational part of the view matrix is used instead. |