Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

LanguageSyntax
C++

byte getTriangle( dword iTriangle, dword &iVertex1, dword &iVertex2, dword &iVertex3, dword &iNormal1, dword &iNormal2, dword &iNormal3 )

Pythondict

(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
settriangle
settriangle

...

LanguageSyntax
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 )

Pythondict

(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
settriangleuvw
settriangleuvw

...

LanguageSyntax
C++byte getBaseAndPivot( Cbase& base, Cbase& pivot, const real substepTime = 0.0 )
Pythontuple (Cbase base, Cbase pivot) getBaseAndPivot( float substepTime = 0.0 )

...

Number of geometry modifier extensions applied to the object.

...