diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-29 15:15:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-29 15:15:43 +0200 |
commit | ecb89bfbd5b8d4903e2e0b480c2fff934a14051e (patch) | |
tree | d4a1a666ce421861edd908b1daef1c6eb889729a /doc/classes/CollisionObject3D.xml | |
parent | c7e4c802ffcea465f995c4f203ace1278f41286c (diff) | |
parent | 7f2740f7bd62fa8bbc5aa1dd3a4536f73144ada5 (diff) |
Merge pull request #57234 from rafallus/doc/collision_obj_mouse_functions
Diffstat (limited to 'doc/classes/CollisionObject3D.xml')
-rw-r--r-- | doc/classes/CollisionObject3D.xml | 12 |
1 files changed, 12 insertions, 0 deletions
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. </description> </method> + <method name="_mouse_enter" qualifiers="virtual"> + <return type="void" /> + <description> + 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. + </description> + </method> + <method name="_mouse_exit" qualifiers="virtual"> + <return type="void" /> + <description> + 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. + </description> + </method> <method name="create_shape_owner"> <return type="int" /> <param index="0" name="owner" type="Object" /> |