Skip to content

Pointer

Inherits: Node

Description

Logic for the raycast to interact with objects

Properties

NameTypeDefault
click_pointVector3Vector3(0, 0, 0)
initiatorInitiator
is_grabbedboolfalse
is_pressedboolfalse
last_collidedObjectnull
movedboolfalse
rayRayCast3D
time_pressedfloat0.0
timespan_clickVariant400.0

Methods

ReturnsName
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.