TextureCoordinate2D (Standard name: TextureCoordinate)
TextureCoordinate specifies 2D (s,t) texture-coordinate points, used by vertex-based geometry (ElevationGrid, IndexedFaceSet) to map textures to vertices (and patches to polygons). Hint: add Shape and then polgyonal/planar geometry before adding TextureCoordinate.
Inheritance
Code
XML encoding
<TextureCoordinate2D logFeature='' point='' />
Classic encoding
TextureCoordinate2D { logFeature [""] point [] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
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 | ||
point | MFVec2f | inputOutput | pairs of 2D (s,t) texture coordinates, either in range [0..1] or higher if repeating. |