| MouseCursor Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: TouchScript.Behaviors.Cursors
 Syntax
Syntaxpublic class MouseCursor : TextPointerCursor<MousePointer>
The MouseCursor type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | MouseCursor | Initializes a new instance of the MouseCursor class | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Size | 
            Cursor size in pixels.
            (Inherited from PointerCursor.) | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | generateText | 
            Generates text for pointer.
            (Overrides TextPointerCursorTgenerateText(T, StringBuilder).) | 
|  | gethash | 
            Typed version of getPointerHash(IPointer). Returns a hash of a cursor state.
            (Overrides TextPointerCursorTgethash(T).) | 
|  | getPointerHash | 
            Returns pointer hash.
            (Inherited from TextPointerCursorT.) | 
|  | hide | 
            Hides (clears) this instance.
            (Inherited from PointerCursor.) | 
|  | Hide | 
            Hides this instance.
            (Inherited from PointerCursor.) | 
|  | Init | 
            Initializes (resets) the cursor.
            (Inherited from PointerCursor.) | 
|  | SetState | 
            Sets the state of the cursor.
            (Inherited from PointerCursor.) | 
|  | show | 
            Shows this instance.
            (Inherited from PointerCursor.) | 
|  | textIsVisible | 
            Indicates if text should be visible.
            (Overrides TextPointerCursorTtextIsVisible.) | 
|  | update | 
            This method is called every time when the pointer changes.
            (Inherited from PointerCursor.) | 
|  | updateOnce | 
            This method is called once when the cursor is initialized.
            (Overrides TextPointerCursorTupdateOnce(IPointer).) | 
|  | UpdatePointer | 
            Updates the pointer. This method is called when the pointer is moved.
            (Inherited from PointerCursor.) | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | DefaultCursor | 
            Default cursor sub object.
             | 
|  | defaultSize | 
            Initial cursor size in pixels.
            (Inherited from PointerCursor.) | 
|  | hash | 
            Last data hash.
            (Inherited from PointerCursor.) | 
|  | PressedCursor | 
            Pressed cursor sub object.
             | 
|  | rect | 
            Cached RectTransform.
            (Inherited from PointerCursor.) | 
|  | ShowButtons | 
            Should the value of Buttons be shown on the cursor.
             | 
|  | ShowFlags | 
            Should the value of Flags be shown on screen on the cursor.
            (Inherited from TextPointerCursorT.) | 
|  | ShowPointerId | 
            Should the value of Id be shown on screen on the cursor.
            (Inherited from TextPointerCursorT.) | 
|  | size | 
            Cursor size.
            (Inherited from PointerCursor.) | 
|  | state | 
            Current cursor state.
            (Inherited from PointerCursor.) | 
|  | stateData | 
            CUrrent cursor state data.
            (Inherited from PointerCursor.) | 
|  | Text | 
            The link to UI.Text component.
            (Inherited from TextPointerCursorT.) | 
 See Also
See Also