This method of the Direct3dRM Class creates a shadow by using the specified mesh builder and light, projecting the shadow onto the specified plane. The shadow is a visual that should be added to the frame that contains the visual.
public Direct3dRMVisual createShadowFromMeshBuilder( Direct3dRMMeshBuilder mb, Direct3dRMLight l, float px, float py, float pz, float nx, float ny,float nz);
Returns the Direct3dRMVisual object if successful; otherwise, null.
v | The Direct3dRMMeshBuilder object that is casting the shadow. |
l | The Direct3dRMLight object that is the light source. |
px | The x component of the plane that the shadow is to be projected on. |
py | The y component of the plane that the shadow is to be projected on. |
pz | The z component of the plane that the shadow is to be projected on. |
nx | The x component of the normal to the plane that the shadow is to be projected on. |
ny | The y component of the normal to the plane that the shadow is to be projected on. |
nz | The z component of the normal to the plane that the shadow is to be projected on. |