rage game engine free game engine

rglGetDynamicFaces

Sulaco Home
/ News / About Rage 3D / Current Features / Download Rage 3D / License / News Archive / Our Team / Rage 3D Functions / Rage 3D Games / Screen Shots / Tutorials /

Google
 
Web www.rage-game-engine.za.net



Hosting provided by Sulaco New Media PC Support - Network and Server Support and maintenance

 Ads


rglGetDynamicFaces

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



 Ads




SourceForge.net Logo