This is a method of the IDirect3dRM Interface.
public Direct3dRMVisual createShadow(Direct3dRMVisual v, Direct3dRMLight l, float px, float py, float pz, float nx, float ny, float nz);