Node: Normal

X3D: 3.3
Component: Rendering
Status:
fully implemented

Quick Links

➨ Fields

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.

HTML Encoding and Default Values

<Normal metadata='X3DMetadataObject' vector='[]' ></Normal>

Inheritance


Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
metadata SFNode X3DMetadataObject Core/X3DNode Field to add metadata information
vector MFVec3f [] [-1, 1] set of unit-length normal vectors, corresponding to indexed polygons or vertices.