User Tools

Site Tools


dragengine:modules:dragonscript:behavior_controldesktop

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dragengine:modules:dragonscript:behavior_controldesktop [2021/11/05 00:11] – created dragonlorddragengine:modules:dragonscript:behavior_controldesktop [2024/03/14 16:50] (current) dragonlord
Line 13: Line 13:
 The behavior allows player (or other actors) to move the mouse pointer on a [[behavior_renderabledesktop|ECBehaviorRenderableDesktop]] by looking or pointing at the desired position. Also the player can simulate a left or right mouse click by using an input binding defined by the actor himself. This kind of input is typically used for VR games but can be also used for non VR games like first person shooters. The behavior allows player (or other actors) to move the mouse pointer on a [[behavior_renderabledesktop|ECBehaviorRenderableDesktop]] by looking or pointing at the desired position. Also the player can simulate a left or right mouse click by using an input binding defined by the actor himself. This kind of input is typically used for VR games but can be also used for non VR games like first person shooters.
  
-The behavior defines three corner points of a virtual rectangular plane. The player looking or pointing direction is intersected with this virtual plane. The relative position of this hit point is mapped to the [[https://developer.dragondreams.ch/docs/dragonscript/scriptapi/latest/classDragengine_1_1Gui_1_1Desktop.html|Desktop]] widget. The three corners of the virtual plane are the lower left, lower right and upper left corner.+The behavior defines three corner points of a virtual rectangular plane. The player looking or pointing direction is intersected with this virtual plane. The relative position of this hit point is mapped to the #@LinkApiDocDEDS2_HTML~classDragengine_1_1Gui_1_1Desktop.html,Desktop~@# widget. The three corners of the virtual plane are the lower left, lower right and upper left corner.
  
 Optionally a bone name can be specified. If the bone name is not empty the virtual plane corners are relative to the bone. This allows to create desktop input zones which can be displaced. Optionally a bone name can be specified. If the bone name is not empty the virtual plane corners are relative to the bone. This allows to create desktop input zones which can be displaced.
Line 71: Line 71:
 ====== API Documentation ====== ====== API Documentation ======
  
-[[https://developer.dragondreams.ch/docs/dragonscript/scriptapi/latest/classDragengine_1_1Scenery_1_1ECBehaviorControlDesktop.html|ECBehaviorControlDesktop]].+#@LinkApiDocDEDS2_HTML~classDragengine_1_1Scenery_1_1ECBehaviorControlDesktop.html,ECBehaviorControlDesktop~@#.
  
 Since DragonScript Module Version **1.7** Since DragonScript Module Version **1.7**
dragengine/modules/dragonscript/behavior_controldesktop.1636071072.txt.gz · Last modified: 2021/11/05 00:11 by dragonlord