Applications use the methods of the Direct3dRMWrap Class of the com.ms.directX package to work with wrap objects.
public class Direct3dRMWrap implements IDirect3dRMWrap { // Methods public void applyFace(Direct3dRMFace face); public void applyMesh(Direct3dRMMesh mesh); public void applyMeshBuilder(Direct3dRMMeshBuilder meshbuilder); public void applyRelative(Direct3dRMFrame f, Direct3dRMObject o); }
In addition, the Direct3dRMWrap class inherits the following methods from the Direct3dRMObject class:
addDestroyCallback
duplicate
deleteDestroyCallback
getAppData
getClassName
getName
setAppData
setName
Note This class does not provide an init method. Use the Direct3dRM.createWrap method to create and initialize Direct3dRMWrap objects.
Note Wrap objects wrap a two dimensional surface to a three dimensional object. If you are using DirectX3 on the native side, wrap objects might not behave as expected. If you are using DirectX5, you should not encounter problems.