From 7f2740f7bd62fa8bbc5aa1dd3a4536f73144ada5 Mon Sep 17 00:00:00 2001 From: rafallus Date: Tue, 25 Jan 2022 17:07:17 -0600 Subject: Expose input interaction virtual functions in CollisionObject --- doc/classes/CollisionObject3D.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/classes/CollisionObject3D.xml') diff --git a/doc/classes/CollisionObject3D.xml b/doc/classes/CollisionObject3D.xml index 4d10a33032..f10136521a 100644 --- a/doc/classes/CollisionObject3D.xml +++ b/doc/classes/CollisionObject3D.xml @@ -21,6 +21,18 @@ [b]Note:[/b] [method _input_event] requires [member input_ray_pickable] to be [code]true[/code] and at least one [member collision_layer] bit to be set. + + + + Called when the mouse pointer enters any of this object's shapes. Requires [member input_ray_pickable] to be [code]true[/code] and at least one [member collision_layer] bit to be set. Note that moving between different shapes within a single [CollisionObject3D] won't cause this function to be called. + + + + + + Called when the mouse pointer exits all this object's shapes. Requires [member input_ray_pickable] to be [code]true[/code] and at least one [member collision_layer] bit to be set. Note that moving between different shapes within a single [CollisionObject3D] won't cause this function to be called. + + -- cgit v1.2.3