/** * Destroys the Mouse Cursor - done in desctructor */ void destroyMouseCursor() { //delete mMouseCursor; mMouseCursor = null; }
/** Create a Mouse Cursor representing the Mouse * @param * dimensions The relative x Position, y Position, width, and height of the cursor. * @param * material Ogre material to define the cursor image. */ public MouseCursor createMouseCursor(Vector2 dimensions, string material) { mMouseCursor = new MouseCursor(dimensions, material, mRenderWindowWidth, mRenderWindowHeight); return(mMouseCursor); }