lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
26 lines • 734 B
JavaScript
import { pullSkyboxStack, pushSkyboxStack, refreshSkyboxStack } from "../states/useSkyboxStack";
import { skyboxDefaults, skyboxSchema } from "../interface/ISkybox";
import Appendable from "./core/Appendable";
class Skybox extends Appendable {
static componentName = "skybox";
static defaults = skyboxDefaults;
static schema = skyboxSchema;
constructor() {
super();
pushSkyboxStack(this);
}
disposeNode() {
super.disposeNode();
pullSkyboxStack(this);
}
_texture;
get texture() {
return this._texture;
}
set texture(value) {
this._texture = value;
refreshSkyboxStack();
}
}
export default Skybox;
//# sourceMappingURL=Skybox.js.map