Packages
 In this topic

*Methods

 

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

 


Interface IDirect3dRM

public interface IDirect3dRM extends IUnknown
{
  // Methods
  public void addSearchPath(String name);
  public Direct3dRMAnimation createAnimation();
  public Direct3dRMAnimationSet createAnimationSet();
  public int createColorRGB(float red, float green, float blue);
  public Direct3dRMDevice createDevice(int v1, int v2);
  public Direct3dRMDevice createDeviceFromClipper(DirectDrawClipper
        lpDDClipper, _Guid g, int width, int height);
  public Direct3dRMDevice createDeviceFromD3D(Direct3d d3d,
        Direct3dDevice dev);
  public Direct3dRMDevice createDeviceFromSurface(_Guid g,
        DirectDraw dd, DirectDrawSurface DDsBack);
  public Direct3dRMFace createFace();
  public Direct3dRMFrame createFrame(Direct3dRMFrame parent);
  public Direct3dRMLight createLight(int t, int c);
  public Direct3dRMLight createLightRGB(int lt, float vred,
        float vgreen, float vblue);
  public Direct3dRMMaterial createMaterial(float d);
  public Direct3dRMMesh createMesh();
  public Direct3dRMMeshBuilder createMeshBuilder();
  public Direct3dRM createObject(_Guid rclsid, IUnknown p,
        _Guid rid);
  public Direct3dRMVisual createShadow(Direct3dRMVisual v,
        Direct3dRMLight l, float px, float py, float pz,
        float nx, float ny, float nz);
  public Direct3dRMTexture createTexture(D3dRMImage image,
        byte[] buffer1, byte[] pal);
  public Direct3dRMTexture createTextureFromSurface(
        DirectDrawSurface ddS);
  public Direct3dRMUserVisual createUserVisual(
        IUserVisualCallback fn, IUnknown Arg);
  public Direct3dRMViewport createViewport(Direct3dRMDevice dev,
        Direct3dRMFrame fr, int l, int t, int w, int h);
  public Direct3dRMWrap createWrap(int t, Direct3dRMFrame f,
        float ox, float oy, float oz, float dx, float dy,
        float dz, float ux, float uy, float uz, float ou,
        float ov, float su, float sv);
  public void enumerateObjects(IEnumerateObjectsCallback fn,
        IUnknown pArgs);
  public Direct3dRMDeviceArray getDevices();
  public Direct3dRMObject getNamedObject(String name);
  public String getSearchPath();
  public void loadFromFileByPos(String fnam, int[] id, _Guid g, int
        cnt, int options, ILoadCallback fn1, int[] arg1,
        ILoadTextureCallback fn2, int[] arg2, Direct3dRMFrame f);
  public Direct3dRMTexture loadTexture(String name);
  public Direct3dRMTexture loadTextureFromResource(int hnd);
  public void setDefaultTextureColors(int ds);
  public void setDefaultTextureShades(int ds);
  public void setSearchPath(String name);
  public void tick(float val);
  public void vectorCrossProduct(D3dVector lpd, D3dVector lps1,
        D3dVector lps2);
  public void vectorNormalise(D3dVector d);
}

For a description of methods and parameters, see Direct3dRM.

IUnknown
  |
  +--IDirect3dRM

Methods

addSearchPath

public void addSearchPath(String name);

createAnimation

public Direct3dRMAnimation createAnimation();

createAnimationSet

public Direct3dRMAnimationSet createAnimationSet();

createColorRGB

public int createColorRGB(float red, float green, float blue);

createDevice

public Direct3dRMDevice createDevice(int v1, int v2);

createDeviceFromClipper

public Direct3dRMDevice createDeviceFromClipper(
        DirectDrawClipper lpDDClipper, _Guid g, int width, int height);

createDeviceFromD3D

public Direct3dRMDevice createDeviceFromD3D(Direct3d d3d,
        Direct3dDevice dev);

createDeviceFromSurface

public Direct3dRMDevice createDeviceFromSurface(_Guid g, DirectDraw dd,
        DirectDrawSurface DDsBack);

createFace

public Direct3dRMFace createFace();

createFrame

public Direct3dRMFrame createFrame(Direct3dRMFrame parent);

createLight

public Direct3dRMLight createLight(int t, int c);

createLightRGB

public Direct3dRMLight createLightRGB(int lt, float vred, float vgreen,
        float vblue);

createMaterial

public Direct3dRMMaterial createMaterial(float d);

createMesh

public Direct3dRMMesh createMesh();

createMeshBuilder

public Direct3dRMMeshBuilder createMeshBuilder();

createObject

public Direct3dRM createObject(_Guid rclsid, IUnknown p, _Guid rid);

createShadow

public Direct3dRMVisual createShadow(Direct3dRMVisual v, Direct3dRMLight l,
        float px, float py, float pz, float nx, float ny, float nz);

createTexture

public Direct3dRMTexture createTexture(D3dRMImage image, byte[] buffer1,
        byte[] pal);

createTextureFromSurface

public Direct3dRMTexture createTextureFromSurface(DirectDrawSurface ddS);

createUserVisual

public Direct3dRMUserVisual createUserVisual(IUserVisualCallback fn,
        IUnknown Arg);

createViewport

public Direct3dRMViewport createViewport(Direct3dRMDevice dev,
        Direct3dRMFrame fr, int l, int t, int w, int h);

createWrap

public Direct3dRMWrap createWrap(int t, Direct3dRMFrame f, float ox,
        float oy, float oz, float dx, float dy, float dz, float ux,
        float uy, float uz, float ou, float ov, float su, float sv);

enumerateObjects

public void enumerateObjects(IEnumerateObjectsCallback fn, IUnknown pArgs);

getDevices

public Direct3dRMDeviceArray getDevices();

getNamedObject

public Direct3dRMObject getNamedObject(String name);

getSearchPath

public String getSearchPath();

loadFromFileByPos

public void loadFromFileByPos(String fnam, int[] id, _Guid g, int cnt,
        int options, ILoadCallback fn1, int[] arg1,
        ILoadTextureCallback fn2, int[] arg2, Direct3dRMFrame f);

loadTexture

public Direct3dRMTexture loadTexture(String name);

loadTextureFromResource

public Direct3dRMTexture loadTextureFromResource(int hnd);

setDefaultTextureColors

public void setDefaultTextureColors(int ds);

setDefaultTextureShades

public void setDefaultTextureShades(int ds);

setSearchPath

public void setSearchPath(String name);

tick

public void tick(float val);

vectorCrossProduct

public void vectorCrossProduct(D3dVector lpd, D3dVector lps1,
        D3dVector lps2);

vectorNormalise

public void vectorNormalise(D3dVector d);

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