Packages
 In this topic

*Methods

 

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

 


Interface IDirect3dRMFace

public interface IDirect3dRMFace extends IUnknown
{
  // Methods
  public void addDestroyCallback(Id3drmCallback fn, IUnknown Arg);
  public void addVertex(float x, float y, float z);
  public void addVertexAndNormalIndexed(int vertex, int normal);
  public void deleteDestroyCallback(Id3drmCallback fn,
        IUnknown args);
  public Direct3dRMFace duplicate();
  public int getAppData();
  public String getClassName();
  public int getColor();
  public Direct3dRMMaterial getMaterial();
  public String getName();
  public void getNormal(D3dVector val);
  public Direct3dRMTexture getTexture();
  public int getTextureCoordinateIndex(int which);
  public void getTextureCoordinates(int vertex, float[] u,
        float[] v);
  public void getTextureTopology(int[] u, int[] v);
  public void getVertex(int idx, D3dVector vert, D3dVector norm);
  public int getVertexCount();
  public int getVertexIndex(int which);
  public void getVertices(int[] vertex_cnt, D3dVector coord,
        D3dVector normals);
  public void getVerticesSize(int[] v_cnt);
  public void setAppData(int data);
  public void setColor(int c);
  public void setColorRGB(float r, float g, float b);
  public void setMaterial(Direct3dRMMaterial ref);
  public void setName(String name);
  public void setTexture(Direct3dRMTexture ref);
  public void setTextureCoordinates(int vertex, float u, float v);
  public void setTextureTopology(int wrap_u, int wrap_v);
}

For a description of methods and parameters, see Direct3dRMFace.

IUnknown
  |
  +--IDirect3dRMFace

Methods

addDestroyCallback

public void addDestroyCallback(Id3drmCallback fn, IUnknown Arg);

addVertex

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

addVertexAndNormalIndexed

public void addVertexAndNormalIndexed(int vertex, int normal);

deleteDestroyCallback

public void deleteDestroyCallback(Id3drmCallback fn, IUnknown args);

duplicate

public Direct3dRMFace duplicate();

getAppData

public int getAppData();

getClassName

public String getClassName();

getColor

public int getColor();

getMaterial

public Direct3dRMMaterial getMaterial();

getName

public String getName();

getNormal

public void getNormal(D3dVector val);

getTexture

public Direct3dRMTexture getTexture();

getTextureCoordinateIndex

public int getTextureCoordinateIndex(int which);

getTextureCoordinates

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

getTextureTopology

public void getTextureTopology(int[] u, int[] v);

getVertex

public void getVertex(int idx, D3dVector vert, D3dVector norm);

getVertexCount

public int getVertexCount();

getVertexIndex

public int getVertexIndex(int which);

getVertices

public void getVertices(int[] vertex_cnt, D3dVector coord,
        D3dVector normals);

getVerticesSize

public void getVerticesSize(int[] v_cnt);

setAppData

public void setAppData(int data);

setColor

public void setColor(int c);

setColorRGB

public void setColorRGB(float r, float g, float b);

setMaterial

public void setMaterial(Direct3dRMMaterial ref);

setName

public void setName(String name);

setTexture

public void setTexture(Direct3dRMTexture ref);

setTextureCoordinates

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

setTextureTopology

public void setTextureTopology(int wrap_u, int wrap_v);

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