增加全功能editor页面

This commit is contained in:
ymk
2025-08-01 17:04:17 +08:00
parent c2bb89f7bd
commit f54550631c
18 changed files with 290 additions and 48 deletions

View File

@@ -1,11 +1,11 @@
import * as THREE from "three";
import { getFontPath, TextProp } from "./TextSetting";
import { BackgroundProp } from "./BackgroundSelector";
import { Font, FontLoader } from "three/addons/loaders/FontLoader.js";
import { TextGeometry } from "three/addons/geometries/TextGeometry.js";
THREE.Cache.enabled = true;
import { OrbitControls } from "three/addons/controls/OrbitControls.js";
import { TextProp, getFontPath } from "./TextSetting";
let camera: THREE.PerspectiveCamera,
scene: THREE.Scene,