Script: Local Asset Import GLTF Example

Local Asset Import GLTF Example picture
Type
Rete logo indicatorrete
Author
matas
Date Created
Jan 24, 2024, 2:04:14 PM
Last Edit Date
Feb 22, 2024, 8:14:48 AM

Project Information

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

View Full Project

Script Code

{
  "id": "rete-v2-json",
  "nodes": {
    "6b8d5b8f4c808251": {
      "id": "6b8d5b8f4c808251",
      "name": "bitbybit.asset.getLocalFile",
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "fileName": "BoomBox"
      },
      "inputs": {},
      "position": [
        -901.8085899041871,
        836.9265526963399
      ]
    },
    "96f2ebe7498de2ab": {
      "id": "96f2ebe7498de2ab",
      "name": "bitbybit.babylon.io.loadAssetIntoScene",
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "hidden": false
      },
      "inputs": {
        "assetFile": {
          "connections": [
            {
              "node": "6b8d5b8f4c808251",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -533.5438842773438,
        986.0906219482422
      ]
    },
    "e1315a12cd2ba5ef": {
      "id": "e1315a12cd2ba5ef",
      "name": "bitbybit.babylon.scene.useRightHandedSystem",
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "use": true
      },
      "inputs": {},
      "position": [
        -863.990966796875,
        530.2658843994141
      ]
    }
  }
}