{{tag>motioncapture democap behavior}} [[:start|Start Page]] >> [[main|DEMoCap: Drag[en]gine Motion Capture]] >> [[democap:elementclasses|XML Element Classes]] >> ** ECBShowInteractHandles ** ====== ECBShowInteractHandles ====== Behavior showing interaction handles. ====== Instance Counts ====== This behavior can be used only once on an element. ====== Element Class Properties ====== Element class properties have the prefix ''showInteractHandles.''. ===== handles ===== List of element classes to use as handles. Allowed are only element classes subclassing from ''InteractHandleMoveClass''. * Full name: ''showInteractHandles.handles'' * Type: string * Default Value: empty list * Example (*.deeclass) InteractHandleMoveX InteractHandleMoveY InteractHandleMoveZ ===== handleSize ===== Size in meters of interact handles. * Full name: ''showInteractHandles.handleSize'' * Type: float * Default Value: ''0.2'' * Restriction: At least ''0'' * Example (*.deeclass) 0.2 ====== Events ====== ===== startInteract ===== Actor begins interacting with an interaction handle. ===== stopInteract ===== Actor stops interacting with an interaction handle. ====== Conversation Commands ====== This behavior adds no conversation commands. ====== Conversation Conditions ====== This behavior adds no conversation conditions. ====== Behavior Tree Actions ====== This behavior adds no behavior tree actions. ====== Behavior Tree Conditions ====== This behavior adds no behavior tree conditions. ====== Required Behaviors ====== * [[behavior_ecbbehaviorguipanels|ECBBehaviorGuiPanels]] * [[behavior_ecbselectable|ECBSelectable]] ====== Optional Behaviors ====== This behavior does not support optional behaviors. ====== API Documentation ====== Since DEMoCap Version ''1.3'' ====== Use Cases ====== * Show interaction handlers if object is selected. ====== Element Class Example ====== class MyElement extends BehaviorElementClass public var ECBBehaviorGuiPanels guiPanels public var ECBSelectable selectable public var ECBShowInteractHandles showInteractHandles func new() guiPanels = ECBBehaviorGuiPanels.new(this) selectable = ECBSelectable.new(this) showInteractHandles = ECBShowInteractHandles.new(this, guiPanels, selectable) end end ====== Behavior Factory ====== Using element class supporting adding behaviors the behavior can be added like this (again create an example which creates a valid element class): 0.2 InteractHandleMoveX move rotate movehmd ====== Live Examples ======