Packages
 In this topic

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.directX   Previous This
Package
Next

 


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

Methods

addDestroyCallback

public void addDestroyCallback(Id3drmCallback fn, IUnknown Arg);

addFace

public void addFace(Direct3dRMFace f);

addFaces

public void addFaces(int vCount, float[] ver, int nCount, float[] norm,
        int[] data);

addFrame

public void addFrame(Direct3dRMFrame f);

addMesh

public void addMesh(Direct3dRMMesh m);

addMeshBuilder

public void addMeshBuilder(Direct3dRMMeshBuilder mb);

addNormal

public void addNormal(float x, float y, float z);

addVertex

public void addVertex(float x, float y, float z);

createFace

public Direct3dRMFace createFace();

createFaceArray

public Direct3dRMFaceArray createFaceArray(int vCount, float[] vertices,
        int nCount, float[] normals, int[] data);

createMesh

public Direct3dRMMesh createMesh();

deleteDestroyCallback

public void deleteDestroyCallback(Id3drmCallback fn, IUnknown args);

duplicate

public Direct3dRMMeshBuilder duplicate();

generateNormals

public void generateNormals();

getAppData

public int getAppData();

getBox

public void getBox(D3dRMBox retv);

getClassName

public String getClassName();

getColorSource

public int getColorSource();

getd3drmMeshBuilder

public Direct3dRMMeshBuilder getd3drmMeshBuilder();

getFaceCount

public int getFaceCount();

getFaces

public Direct3dRMFaceArray getFaces();

getName

public String getName();

getPerspective

public int getPerspective();

getQuality

public int getQuality();

getTextureCoordinates

public void getTextureCoordinates(int idx, float[] u, float[] v);

getVertexColor

public int getVertexColor(int index);

getVertexCount

public int getVertexCount();

getVertices

public void getVertices(int[] vc, D3dVector v, int[] nc, D3dVector n, int[]
        fs, int[] fc);

getVerticesSize

public int getVerticesSize();

loadFromFileByPos

public void loadFromFileByPos(String filename, int position, int flags,
        ILoadTextureCallback c, IUnknown pUser);

reserveSpace

public void reserveSpace(int v_cnt, int n_cnt, int f_cnt);

save

public void save(String fname, int xFormat, int save);

scale

public void scale(float sx, float sy, float sz);

setAppData

public void setAppData(int data);

setColor

public void setColor(int col);

setColorRGB

public void setColorRGB(float red, float green, float blue);

setColorSource

public void setColorSource(int val);

setMaterial

public void setMaterial(Direct3dRMMaterial val);

setName

public void setName(String name);

setNormal

public void setNormal(int idx, float x, float y, float z);

setPerspective

public void setPerspective(int persp);

setQuality

public void setQuality(int q);

setTexture

public void setTexture(Direct3dRMTexture val);

setTextureCoordinates

public void setTextureCoordinates(int idx, float u, float v);

setTextureTopology

public void setTextureTopology(int wrap_u, int wrap_v);

setVertex

public void setVertex(int idx, float x, float y, float z);

setVertexColor

public void setVertexColor(int idx, int c);

setVertexColorRGB

public void setVertexColorRGB(int idx, float r, float g, float b);

translate

public void translate(float tx, float ty, float tz);

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.