Work Name: 【test】

Source Code


const mesh01J9YWHW9416HYRBFJQ52EEZZB = BABYLON.MeshBuilder.CreateBox('01J9YWHW9416HYRBFJQ52EEZZB', {}, scene);
mesh01J9YWHW9416HYRBFJQ52EEZZB.position = new BABYLON.Vector3(
  3.3977973461151123,
  -3.6720027923583984,
  2.735713005065918,
);
mesh01J9YWHW9416HYRBFJQ52EEZZB.rotationQuaternion = new BABYLON.Quaternion(
  -0.03169850324071176,
  -0.031041050285377306,
  -0.0027283507686128358,
  0.9990116186469319,
);
mesh01J9YWHW9416HYRBFJQ52EEZZB.scaling = new BABYLON.Vector3(
  5.000000071990464,
  12.84989357034656,
  5.000000058522017,
);

const subCSG = BABYLON.CSG.FromMesh(mesh01J9YWHW9416HYRBFJQ52EEZZB);

subCSG.toMesh("csg", undefined, scene, true);

mesh01J9YWHW9416HYRBFJQ52EEZZB.dispose();