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
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);