@babylonjs/node-editor 5.40.1 → 5.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53643,6 +53643,11 @@ class BlockTools {
53643
53643
  timeBlock.animationType = core_Materials_Node_Blocks_Fragment_discardBlock__WEBPACK_IMPORTED_MODULE_0__.AnimatedInputBlockTypes.Time;
53644
53644
  return timeBlock;
53645
53645
  }
53646
+ case "RealTimeBlock": {
53647
+ const realTimeBlock = new core_Materials_Node_Blocks_Fragment_discardBlock__WEBPACK_IMPORTED_MODULE_0__.InputBlock("RealTime", undefined, core_Materials_Node_Blocks_Fragment_discardBlock__WEBPACK_IMPORTED_MODULE_0__.NodeMaterialBlockConnectionPointTypes.Float);
53648
+ realTimeBlock.animationType = core_Materials_Node_Blocks_Fragment_discardBlock__WEBPACK_IMPORTED_MODULE_0__.AnimatedInputBlockTypes.RealTime;
53649
+ return realTimeBlock;
53650
+ }
53646
53651
  case "DeltaTimeBlock": {
53647
53652
  const deltaTimeBlock = new core_Materials_Node_Blocks_Fragment_discardBlock__WEBPACK_IMPORTED_MODULE_0__.InputBlock("Delta time");
53648
53653
  deltaTimeBlock.setAsSystemValue(core_Materials_Node_Blocks_Fragment_discardBlock__WEBPACK_IMPORTED_MODULE_0__.NodeMaterialSystemValues.DeltaTime);
@@ -54092,6 +54097,7 @@ class NodeListComponent extends react__WEBPACK_IMPORTED_MODULE_1__.Component {
54092
54097
  "TextureBlock",
54093
54098
  "ReflectionTextureBlock",
54094
54099
  "TimeBlock",
54100
+ "RealTimeBlock",
54095
54101
  "DeltaTimeBlock",
54096
54102
  "MaterialAlphaBlock",
54097
54103
  "FragCoordBlock",
@@ -54307,7 +54313,8 @@ NodeListComponent._Tooltips = {
54307
54313
  DeltaTimeBlock: "A float representing the time that has passed since the last frame was rendered",
54308
54314
  Float: "A floating point number representing a value with a fractional component",
54309
54315
  TextureBlock: "A node for reading a linked or embedded texture file",
54310
- TimeBlock: "A float value that represents the time that has passed since the scene was loaded",
54316
+ TimeBlock: "A float value that represents the time that has passed since the scene was loaded (it is incremented by 0.6 each second)",
54317
+ RealTimeBlock: "A float value that represents the number of seconds that have elapsed since the engine was initialized",
54311
54318
  Vector2: "a vector composed of X and Y channels",
54312
54319
  Vector3: "a vector composed of X, Y, and Z channels",
54313
54320
  Vector4: "a vector composed of X, Y, Z, and W channels",
@@ -58255,6 +58262,7 @@ class InputPropertyTabComponent extends react__WEBPACK_IMPORTED_MODULE_1__.Compo
58255
58262
  animationOptions = [
58256
58263
  { label: "None", value: core_Materials_Node_Enums_nodeMaterialBlockConnectionPointTypes__WEBPACK_IMPORTED_MODULE_9__.AnimatedInputBlockTypes.None },
58257
58264
  { label: "Time", value: core_Materials_Node_Enums_nodeMaterialBlockConnectionPointTypes__WEBPACK_IMPORTED_MODULE_9__.AnimatedInputBlockTypes.Time },
58265
+ { label: "RealTime", value: core_Materials_Node_Enums_nodeMaterialBlockConnectionPointTypes__WEBPACK_IMPORTED_MODULE_9__.AnimatedInputBlockTypes.RealTime },
58258
58266
  ];
58259
58267
  systemValuesOptions = [
58260
58268
  { label: "Delta time", value: core_Materials_Node_Enums_nodeMaterialBlockConnectionPointTypes__WEBPACK_IMPORTED_MODULE_9__.NodeMaterialSystemValues.DeltaTime },