Script: Local Asset GLTF Import

Local Asset GLTF Import picture
Type
Blockly logo indicatorblockly
Author
matas
Date Created
Jan 24, 2024, 9:32:19 AM
Last Edit Date
Jan 25, 2024, 3:11:56 PM

Project Information

This project contains demo scripts for Blockly based editor that are used as examples in the "Getting Started" section of the documentation.

View Full Project

Script Code

<xml xmlns="https://developers.google.com/blockly/xml">
 <block type="bitbybit.babylon.scene.useRightHandedSystem" id="z5;?s*L9ZJL)L@YPmas;" x="11" y="-183">
  <value name="Use">
   <block type="logic_boolean" id="0BcPWV4@B@u7Ro|}#%7F">
    <field name="BOOL">TRUE</field>
   </block>
  </value>
  <next>
   <block type="bitbybit.babylon.io.loadAssetIntoSceneNoReturn" id="=E:*+4sBl0p*7_(P)vK!">
    <value name="AssetFile">
     <block type="bitbybit.asset.getLocalFile" id="{G,qOH}i|~tdX[;4~QVc">
      <value name="FileName">
       <block type="text" id="Otbk?6q-wetIRj+=-kf!">
        <field name="TEXT">BoomBox</field>
       </block>
      </value>
     </block>
    </value>
    <value name="Hidden">
     <block type="logic_boolean" id="Or;B1qQvM|L!E`;Rrfz;">
      <field name="BOOL">FALSE</field>
     </block>
    </value>
   </block>
  </next>
 </block>
</xml>