Normal3D (Standard name: Normal)
Normal is a set of 3D surface-normal vectors Normal values are optional perpendicular directions, used per-polygon or per-vertex for lighting and shading. Hint: used by IndexedFaceSet and ElevationGrid.
Inheritance
Code
XML encoding
<Normal3D vector='' normalize='FALSE' logFeature='' />
Classic encoding
Normal3D { vector [] normalize FALSE logFeature [""] }
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 | ||
normalize | SFBool | inputOutput | FALSE | specifies whether to normalize the normal vectors. TRUE normalizes the normals, FALSE doesn't normalize. | ||
vector | MFVec3f | inputOutput | set of unit-length normal vectors, corresponding to indexed polygons or vertices. |