ObjectCursor Class |
Namespace: TouchScript.Behaviors.Cursors
public class ObjectCursor : TextPointerCursor<ObjectPointer>
The ObjectCursor type exposes the following members.
| Name | Description | |
|---|---|---|
| ObjectCursor | Initializes a new instance of the ObjectCursor class |
| Name | Description | |
|---|---|---|
| Size |
Cursor size in pixels.
(Inherited from PointerCursor.) |
| 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.
(Inherited from TextPointerCursorT.) | |
| UpdatePointer |
Updates the pointer. This method is called when the pointer is moved.
(Inherited from PointerCursor.) |
| Name | Description | |
|---|---|---|
| defaultSize |
Initial cursor size in pixels.
(Inherited from PointerCursor.) | |
| hash |
Last data hash.
(Inherited from PointerCursor.) | |
| rect |
Cached RectTransform.
(Inherited from PointerCursor.) | |
| ShowAngle |
Should the value of Angle be shown on the cursor.
| |
| ShowFlags |
Should the value of Flags be shown on screen on the cursor.
(Inherited from TextPointerCursorT.) | |
| ShowObjectId |
Should the value of ObjectId be shown on the cursor.
| |
| ShowPointerId |
Should the value of Id be shown on screen on the cursor.
(Inherited from TextPointerCursorT.) | |
| ShowSize | ||
| 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.) |