6.2 KiB
6.2 KiB
Pointer
Inherits: Node
Description
Logic for the raycast to interact with objects
Properties
Name | Type | Default |
---|---|---|
click_point | Vector3 | Vector3(0, 0, 0) |
initiator | Initiator | |
is_grabbed | bool | false |
is_pressed | bool | false |
last_collided | Object | null |
moved | bool | false |
ray | RayCast3D | |
time_pressed | float | 0.0 |
timespan_click | Variant | 400.0 |
Methods
Returns | Name |
---|---|
void | _emit_event ( type: String, target: Variant ) |
void | _handle_enter_leave ( ) |
void | _handle_move ( ) |
void | _init ( initiator: Initiator, ray: RayCast3D ) |
void | _on_pressed ( type: int ) |
void | _on_released ( type: int ) |
void | _physics_process ( _delta: Variant ) |
void | _ready ( ) |
Constants
Initiator = <Object>
No description provided yet.
Property Descriptions
click_point: Vector3
No description provided yet.
initiator: Initiator
No description provided yet.
is_grabbed: bool
No description provided yet.
is_pressed: bool
No description provided yet.
last_collided: Object
No description provided yet.
moved: bool
No description provided yet.
ray: RayCast3D
No description provided yet.
time_pressed: float
No description provided yet.
timespan_click: Variant
No description provided yet.
Method Descriptions
_emit_event (type: String , target: Variant ) -> void
No description provided yet.
_handle_enter_leave ( ) -> void
No description provided yet.
_handle_move ( ) -> void
No description provided yet.
_init (initiator: Initiator , ray: RayCast3D ) -> void
No description provided yet.
_on_pressed (type: int ) -> void
No description provided yet.
_on_released (type: int ) -> void
No description provided yet.
_physics_process (_delta: Variant ) -> void
No description provided yet.
_ready ( ) -> void
No description provided yet.