User Tools

Site Tools


democap:elementclasses

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
democap:elementclasses [2025/03/22 15:13] – [Behaviors Explained: From A to Z] dragonlorddemocap:elementclasses [2025/03/22 18:38] (current) – [H] dragonlord
Line 15: Line 15:
  
 This list contains all the behaviors DEMoCap provides and that can be used in ''*.deeclass'' files to build own element classes. See [[dragengine:modules:dragonscript:behaviors_a_to_z|Behaviors Explained: From A to Z]] or [[dragengine:modules:dragonscript:behaviors_use_cases|Behaviors Explained: By Use Cases]] for behaviors provided by the Drag[en]gine Game Engine. This list contains all the behaviors DEMoCap provides and that can be used in ''*.deeclass'' files to build own element classes. See [[dragengine:modules:dragonscript:behaviors_a_to_z|Behaviors Explained: From A to Z]] or [[dragengine:modules:dragonscript:behaviors_use_cases|Behaviors Explained: By Use Cases]] for behaviors provided by the Drag[en]gine Game Engine.
 +
 +===== A =====
  
   * [[behavior_ecbanimated|ECBAnimated]]   * [[behavior_ecbanimated|ECBAnimated]]
 +
 +===== C =====
 +
 +  * [[behavior_ecbcamerafeedview|ECBCameraFeedView]]
 +  * [[behavior_ecbcapturedanimations|ECBCapturedAnimations]]
 +  * [[behavior_ecbcolliderphysics|ECBColliderPhysics]]
 +  * [[behavior_ecbcomponent|ECBComponent]]
 +  * [[behavior_ecbcopyobject|ECBCopyObject]]
 +  * [[behavior_ecbcustomcolor|ECBCustomColor]]
 +
 +===== D =====
 +
 +  * [[behavior_ecbdesktoplanguagechanged|ECBDesktopLanguageChanged]]
 +
 +===== G =====
 +
 +  * [[behavior_ecbgrabattach|ECBGrabAttach]]
 +  * [[behavior_ecbgrabbedenablecamera|ECBGrabbedEnableCamera]]
 +  * [[behavior_ecbbehaviorguipanels|ECBBehaviorGuiPanels]]
 +
 +===== H =====
 +
 +  * [[behavior_ecbhelptopic|ECBHelpTopic]]
 +  * [[behavior_ecbhidecondition|ECBHideCondition]]
 +  * [[behavior_ecbhighlightpointedat|ECBHighlightPointedAt]]
 +
 +===== R =====
 +
 +  * [[behavior_ecbrecordanimation|ECBRecordAnimation]]
 +  * [[behavior_ecbremotecamera|ECBRemoteCamera]]
 +  * [[behavior_ecbrenderablecamera|ECBRenderableCamera]]
 +
 +===== S =====
 +
 +  * [[behavior_ecbsceneobject|ECBSceneObject]]: **Adding this behavior is mandatory**
 +  * [[behavior_ecbselectable|ECBSelectable]]
 +  * [[behavior_ecbshowinteracthandles|ECBShowInteractHandles]]
 +  * [[behavior_ecbshowinteractionbubble|ECBShowInteractionBubble]]
 +
 +===== T =====
 +
 +  * [[behavior_ecbtemporaryghost|ECBTemporaryGhost]]
 +  * [[behavior_ecbtogglevisibility|ECBToggleVisibility]]
 +
 +===== W =====
 +
 +  * [[behavior_ecbwindowvideoplayer|ECBWindowVideoPlayer]]
  
 ====== Examples ====== ====== Examples ======
Line 38: Line 87:
 </code> </code>
  
-Example of an ''*.deeclass'' file defining a full behavior element starting from scratch (using GenericBehaviorElement). This is more complex but allows to build an element class from scratch with exactly the behaviors you need. To be usable in DEMoCap at least the "ECBSceneObject""ECBSelectable" and "ECBCopyObject" behavior has to be present with all the required dependencies.+Example of an ''*.deeclass'' file defining a full behavior element starting from scratch (using GenericBehaviorElement). This is more complex but allows to build an element class from scratch with exactly the behaviors you need. To be usable in DEMoCap at least the "ECBSceneObject" and "ECBSelectable" behavior has to be present with all the required dependencies.
  
 <code xml> <code xml>
 <?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
 <elementClass name='TestISD' class='GenericBehaviorElement'> <elementClass name='TestISD' class='GenericBehaviorElement'>
-  <!-- GenericBehaviorElement is by definition a blank behavior element class. +  <!-- GenericBehaviorElement is by definition a blank behavior element class. You 
-       You have to add all the behaviors to it you need. At least "ECBSceneObject", +       have to add all the behaviors to it you need. At least "ECBSceneObject" and 
-       "ECBSelectable" and "ECBCopyObject" have to be present for DEMoCap to allow +       "ECBSelectable" have to be present for DEMoCap to allow using the element class.
-       using the element class.+
                
        While adding behaviors you can set element class properties directly        While adding behaviors you can set element class properties directly
democap/elementclasses.1742656419.txt.gz · Last modified: 2025/03/22 15:13 by dragonlord