procedure rglGetDynamicFaces( aObjectIndex : Integer; var aFaceCount : Windows.PInteger; var aVertIndexes, aNormalIndexes, aTextureUVWIndexes : PRAGEIntVectorArray2D; var aVertices, aNormals, aTextureUVWs : PAVectorArray); stdcall;
Read back all the mesh data of a dynamic object instance in the engine
Parameters aObjectIndex - the index of the dynamic object aFaceCount - amount of faces returned
aVertIndexes - multi dimentional array of integer pointers as indexes to vertices in the dynamic object's mesh
aNormalIndexes - multi dimentional array of integer pointers as indexes to normals in the dynamic object's mesh
aTextureUVWIndexes - multi dimentional array of integer pointers as indexes to normals in the dynamic object's mesh
aVertices - multi dimentional array of vector pointers in the dynamic object's mesh
aNormals - multi dimentional array of normal pointers in the dynamic object's mesh
aTextureUVWs - multi dimentional array of TextureUVW pointers in the dynamic object's mesh
Remark Use this to read back all available data froma dynamic mesh
|