H3D API
2.4.1
|
Specialized field for automatically generating two FloatVertexAttribute nodes representing the tangent and binormal of each vertex(or face if normalPerVertex is false). More...
#include <H3D/IndexedTriangleSet.h>
Additional Inherited Members | |
![]() | |
void | checkFieldType (Field *f, int index) |
Function for checking that a field is of a correct type given type specification according to the TypedField template arguments. More... | |
void | checkTemplateArguments () |
Function for checking that a field given TypedField type specification is valid. More... | |
Specialized field for automatically generating two FloatVertexAttribute nodes representing the tangent and binormal of each vertex(or face if normalPerVertex is false).
These can then be used in shader nodes such as PhongShader.
routes_in[0] is the normalPerVertex field. routes_in[1] is the coord field. routes_in[2] is the index field. routes_in[3] is the texCoord field.