Ejemplo n.º 1
0
 /**
  * Destroys the Mouse Cursor - done in desctructor
  */
 void destroyMouseCursor()
 {
     //delete mMouseCursor;
     mMouseCursor = null;
 }
Ejemplo n.º 2
0
        /** 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);
        }