Changes between Version 4 and Version 5 of BodyAndFaceEmbodiment


Ignore:
Timestamp:
07/26/13 11:13:16 (6 years ago)
Author:
welberge
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BodyAndFaceEmbodiment

    v4 v5  
    6262<Loader id="graphicalembodiment" loader="hmi.environment.bodyandfaceembodiments.loader.BodyAndFaceSpreadEmbodimentLoader" requiredloaders="graphicalembodiment1,graphicalembodiment2"/> 
    6363}}} 
     64 
     65== !BodyAndFaceSwitchEmbodiment == 
     66The !BodyAndFaceSwitchEmbodiment creates multiple inputs that can be switched between for a single output embodiment. This is useful when for example one wants to switch between steering the body with BML through AsapRealizer and steering it . 
     67 
     68Example loader: 
     69{{{ 
     70 <Loader id="switchpanelembodiment" loader="hmi.jcomponentenvironment.loader.JComponentEmbodimentLoader"> 
     71    <JComponent id="panel2"/>              
     72 </Loader> 
     73 <Loader id="switchembodiment" loader="hmi.environment.bodyandfaceembodiments.loader.BodyAndFaceSwitchEmbodimentLoader" requiredloaders="bodyfaceembodiment"> 
     74    <Inputs ids="realizerembodiment,kfeditorembodiment"/>     
     75  </Loader> 
     76 
     77 <Loader id="switchiu" loader="hmi.jcomponentenvironment.loader.InputSwitchEmbodimentSwingUILoader" requiredloaders="switchpanelembodiment,switchembodiment"/> 
     78}}}