oiv_include <Inventor/oivShapeInstanceMatrix.h> More...
Go to the source code of this file.
Functions | |
| void | OivInstancingInit () |
| int | OivInstanceID () |
| vec3 | OivInstanceTranslation () |
| vec3 | OivInstanceScale () |
| vec4 | OivInstanceRotation () |
| mat4 | OivInstanceMatrix () |
oiv_include <Inventor/oivShapeInstanceMatrix.h>
This file contains fonction to access instancing parameters.
Definition in file oivInstancing.h.
| int OivInstanceID | ( | ) |
Get the current instance ID when using multiple instance.
| mat4 OivInstanceMatrix | ( | ) |
Get the transformation matrix to apply to the current geometry instance, i.e., the combination of instance rotation, scale and translation.
| vec4 OivInstanceRotation | ( | ) |
Get the rotation (i.e.
a quaternion) to apply to the current geometry instance.
| vec3 OivInstanceScale | ( | ) |
Get the scale vector to apply to the current geometry instance.
| vec3 OivInstanceTranslation | ( | ) |
Get the translation vector to apply to the current geometry instance.
| void OivInstancingInit | ( | ) |
Initialize instancing.
Must be called when doing instancing.