Inventor/oivShapeAttribute.h File Reference

This file contains fonction to acces vertex attributes. More...

Go to the source code of this file.

Functions

vec4 OivVertexPosition ()
vec3 OivVertexNormal ()
vec3 OivVertexTangent ()
vec4 OivVertexColor ()
vec4 OivVertexTextureCoordinate (int unit)
uint OivVertexDrawIndex ()

Detailed Description

This file contains fonction to acces vertex attributes.

Definition in file oivShapeAttribute.h.


Function Documentation

vec4 OivVertexColor (  ) 

Get the color of the current vertex.

Returns:
the color of the current vertex.
uint OivVertexDrawIndex (  ) 
vec3 OivVertexNormal (  ) 

Get the normal of the current vertex.

Returns:
the normal of the current vertex.
vec4 OivVertexPosition (  ) 

Get the position of the current vertex.

Returns:
the position of the current vertex.
vec3 OivVertexTangent (  ) 

Get the tangent of the current vertex.

Returns:
the tangent of the current vertex.
vec4 OivVertexTextureCoordinate ( int  unit  ) 

Get the texture coordinate of the current vertex.

Parameters:
unit specifies which texture unit between 0 and OivMaxTextureUnit()-1.
Returns:
the texture coordinate of the current vertex for a given texture unit.

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/