Using the C++ Classes

 
 
 

A number of C++ classes documented in the Showcase API Reference are wrapped by either the RTFapi or awSupportApi modules.

Here is an example of how you might use the C++ AffineMatrix class from Python:

from awSupportApi import AffineMatrix

matrix = AffineMatrix(1)
matrix.translate(x,y,z)
node.setMatrix(matrix) 

C++ class wrapped by RTFapi

C++ modules wrapped by awSupportApi