...
Language | Syntax |
---|---|
C++ | byte getTriangle( dword iTriangle, dword &iVertex1, dword &iVertex2, dword &iVertex3, dword &iNormal1, dword &iNormal2, dword &iNormal3 ) |
Python | dict (int iVertex1, int iVertex2, int iVertex3, int iNormal1, int iNormal2, int iNormal3) getTriangle( int iTriangle ) |
Return value
C++
0 = Error getting the triangle.
1 = Success.
Python
Dictionary Tuple containing the triangle data ("iVertex1", "iVertex2", "iVertex3", "iNormal1", "iNormal2", "iNormal3").
Anchor | ||||
---|---|---|---|---|
|
...
Language | Syntax |
---|---|
C++ | byte getTriangleUVW( dword iTriangle, dword iChannelID, float& u1, float& v1, float& w1, float& u2, float& v2, float& w2, float& u3, float& v3, float& w3 ) |
Python | dict (float u1, float v1, float w1, float u2, float v2, float w2, float u3, float v3, float w3) getTriangleUVW( int iTriangle, int iChannelID ) |
Return value
C++
0 = Error getting the triangle UVW coordinates.
1 = Success.
Python
Dictionary Tuple containing the triangle UVW coordinates ('u1','v1,'w1,'u2','v2','w2','u2','v2','w3').
Anchor | ||||
---|---|---|---|---|
|
...
Language | Syntax |
---|---|
C++ | byte getBaseAndPivot( Cbase& base, Cbase& pivot, const real substepTime = 0.0 ) |
Python | tuple (Cbase base, Cbase pivot) getBaseAndPivot( float substepTime = 0.0 ) |
...
Number of geometry modifier extensions applied to the object.
...