Interface IDirect3dRMMeshBuilder
public interface IDirect3dRMMeshBuilder extends IUnknown
{
// Methods
public void addDestroyCallback(Id3drmCallback fn, IUnknown Arg);
public void addFace(Direct3dRMFace f);
public void addFaces(int vCount, float[] ver, int nCount, float[]
norm, int[] data);
public void addFrame(Direct3dRMFrame f);
public void addMesh(Direct3dRMMesh m);
public void addMeshBuilder(Direct3dRMMeshBuilder mb);
public void addNormal(float x, float y, float z);
public void addVertex(float x, float y, float z);
public Direct3dRMFace createFace();
public Direct3dRMFaceArray createFaceArray(int vCount,
float[] vertices, int nCount, float[] normals,
int[] data);
public Direct3dRMMesh createMesh();
public void deleteDestroyCallback(Id3drmCallback fn,
IUnknown args);
public Direct3dRMMeshBuilder duplicate();
public void generateNormals();
public int getAppData();
public void getBox(D3dRMBox retv);
public String getClassName();
public int getColorSource();
public Direct3dRMMeshBuilder getd3drmMeshBuilder();
public int getFaceCount();
public Direct3dRMFaceArray getFaces();
public String getName();
public int getPerspective();
public int getQuality();
public void getTextureCoordinates(int idx, float[] u, float[] v);
public int getVertexColor(int index);
public int getVertexCount();
public void getVertices(int[] vc, D3dVector v, int[] nc,
D3dVector n, int[] fs, int[] fc);
public int getVerticesSize();
public void loadFromFileByPos(String filename, int position,
int flags, ILoadTextureCallback c, IUnknown pUser);
public void reserveSpace(int v_cnt, int n_cnt, int f_cnt);
public void save(String fname, int xFormat, int save);
public void scale(float sx, float sy, float sz);
public void setAppData(int data);
public void setColor(int col);
public void setColorRGB(float red, float green, float blue);
public void setColorSource(int val);
public void setMaterial(Direct3dRMMaterial val);
public void setName(String name);
public void setNormal(int idx, float x, float y, float z);
public void setPerspective(int persp);
public void setQuality(int q);
public void setTexture(Direct3dRMTexture val);
public void setTextureCoordinates(int idx, float u, float v);
public void setTextureTopology(int wrap_u, int wrap_v);
public void setVertex(int idx, float x, float y, float z);
public void setVertexColor(int idx, int c);
public void setVertexColorRGB(int idx, float r, float g, float b);
public void translate(float tx, float ty, float tz);
}
For a description of methods and parameters, see Direct3dRMMeshBuilder.
IUnknown
|
+--IDirect3dRMMeshBuilder
public void addDestroyCallback(Id3drmCallback fn, IUnknown Arg);
public void addFace(Direct3dRMFace f);
public void addFaces(int vCount, float[] ver, int nCount, float[] norm,
int[] data);
public void addFrame(Direct3dRMFrame f);
public void addMesh(Direct3dRMMesh m);
public void addMeshBuilder(Direct3dRMMeshBuilder mb);
public void addNormal(float x, float y, float z);
public void addVertex(float x, float y, float z);
public Direct3dRMFace createFace();
public Direct3dRMFaceArray createFaceArray(int vCount, float[] vertices,
int nCount, float[] normals, int[] data);
public Direct3dRMMesh createMesh();
public void deleteDestroyCallback(Id3drmCallback fn, IUnknown args);
public Direct3dRMMeshBuilder duplicate();
public void generateNormals();
public int getAppData();
public void getBox(D3dRMBox retv);
public String getClassName();
public int getColorSource();
public Direct3dRMMeshBuilder getd3drmMeshBuilder();
public int getFaceCount();
public Direct3dRMFaceArray getFaces();
public String getName();
public int getPerspective();
public int getQuality();
public void getTextureCoordinates(int idx, float[] u, float[] v);
public int getVertexColor(int index);
public int getVertexCount();
public void getVertices(int[] vc, D3dVector v, int[] nc, D3dVector n, int[]
fs, int[] fc);
public int getVerticesSize();
public void loadFromFileByPos(String filename, int position, int flags,
ILoadTextureCallback c, IUnknown pUser);
public void reserveSpace(int v_cnt, int n_cnt, int f_cnt);
public void save(String fname, int xFormat, int save);
public void scale(float sx, float sy, float sz);
public void setAppData(int data);
public void setColor(int col);
public void setColorRGB(float red, float green, float blue);
public void setColorSource(int val);
public void setMaterial(Direct3dRMMaterial val);
public void setName(String name);
public void setNormal(int idx, float x, float y, float z);
public void setPerspective(int persp);
public void setQuality(int q);
public void setTexture(Direct3dRMTexture val);
public void setTextureCoordinates(int idx, float u, float v);
public void setTextureTopology(int wrap_u, int wrap_v);
public void setVertex(int idx, float x, float y, float z);
public void setVertexColor(int idx, int c);
public void setVertexColorRGB(int idx, float r, float g, float b);
public void translate(float tx, float ty, float tz);