LaserPointer Class |
Namespace: RavingBots.MagicGestures.Controller
public class LaserPointer : MonoBehaviour
The LaserPointer type exposes the following members.
| Name | Description | |
|---|---|---|
| LaserPointer | Initializes a new instance of the LaserPointer class |
| Name | Description | |
|---|---|---|
| HoverElement |
The UI element being pointed at, if any.
| |
| HoverPosition |
The position of the element being pointed at, if any.
| |
| Pressed |
The current pressed state.
| |
| PressElement |
The UI element being pressed, if any.
| |
| Ray |
Get the current ray for this pointer.
|
| Name | Description | |
|---|---|---|
| CastRay |
Update the hover state based on the pointer ray.
| |
| GetOtherPointers |
Get the other pointers from WandManager.
| |
| HoverStop |
Clear the hover state.
| |
| OnDisable |
Clear the hover and pressed states when the pointer is disabled.
| |
| SetPressed |
Update the pressed state.
| |
| StillHover |
Check if the element still has any pointers pointing at it.
| |
| StillPress |
Check if the element still has any pointers pressing it.
| |
| Update |
Update the hover state based on the pointer ray.
|