H3D API  2.4.1
List of all members
H3D::IndexedTriangleSet::AutoTangent Class Reference

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>

Inheritance diagram for H3D::IndexedTriangleSet::AutoTangent:
Inheritance graph

Additional Inherited Members

- Protected Member Functions inherited from H3D::TypedField< MFVertexAttributeNode, Types< SFBool, SFCoordinateNode, MFInt32, SFTextureCoordinateNode > >
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...
 

Detailed Description

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.


The documentation for this class was generated from the following files: