@mavonengine/editor 0.0.2
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.
- package/dist/Editor/UI/ActivityBar.d.ts +1 -0
- package/dist/Editor/UI/Assets/AssetStats.d.ts +8 -0
- package/dist/Editor/UI/Assets/Assets.d.ts +2 -0
- package/dist/Editor/UI/Assets/AudioPlayer.d.ts +5 -0
- package/dist/Editor/UI/Assets/ModelViewer.d.ts +6 -0
- package/dist/Editor/UI/Assets/ParticleViewer.d.ts +4 -0
- package/dist/Editor/UI/Assets/TextureViewer.d.ts +6 -0
- package/dist/Editor/UI/CanvasPanel.d.ts +2 -0
- package/dist/Editor/UI/CanvasToolbar.d.ts +7 -0
- package/dist/Editor/UI/Editor.d.ts +3 -0
- package/dist/Editor/UI/PanelHeader.d.ts +3 -0
- package/dist/Editor/UI/PropertiesPanel.d.ts +1 -0
- package/dist/Editor/UI/SceneExplorer.d.ts +1 -0
- package/dist/Editor/UI/ShadeModeButtons.d.ts +10 -0
- package/dist/Editor/UI/StatusBar.d.ts +1 -0
- package/dist/Editor/UI/TabBar.d.ts +1 -0
- package/dist/Editor/UI/Window.d.ts +15 -0
- package/dist/Editor/UI/useSceneStats.d.ts +10 -0
- package/dist/Editor/applyShadeMode.d.ts +4 -0
- package/dist/Editor/mount.d.ts +2 -0
- package/dist/Editor-DuFMF1KI.mjs +27135 -0
- package/dist/Editor.css +1 -0
- package/dist/Editor.d.ts +50 -0
- package/dist/Editor.mjs +5 -0
- package/dist/mount-D7HSXcwA.mjs +49133 -0
- package/package.json +65 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function ActivityBar(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CubeTexture, Texture } from 'three';
|
|
2
|
+
export declare function getTextureUrl(texture: Texture | CubeTexture): string;
|
|
3
|
+
declare const _default: ({ texture }: {
|
|
4
|
+
texture: Texture | CubeTexture;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function PropertiesPanel(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SceneExplorer(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ShadeMode } from '../../Editor';
|
|
2
|
+
interface Props {
|
|
3
|
+
shadeMode: ShadeMode;
|
|
4
|
+
onChange(mode: ShadeMode): void;
|
|
5
|
+
btnClass: string;
|
|
6
|
+
activeClass: string;
|
|
7
|
+
size?: number;
|
|
8
|
+
}
|
|
9
|
+
export default function ShadeModeButtons({ shadeMode, onChange, btnClass, activeClass, size }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function StatusBar(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function TabBar(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
title: string;
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
defaultX?: number;
|
|
6
|
+
defaultY?: number;
|
|
7
|
+
defaultWidth?: number;
|
|
8
|
+
defaultHeight?: number;
|
|
9
|
+
minWidth?: number;
|
|
10
|
+
minHeight?: number;
|
|
11
|
+
storageKey?: string;
|
|
12
|
+
onClose(): void;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: ({ title, children, defaultX, defaultY, defaultWidth, defaultHeight, minWidth, minHeight, storageKey, onClose }: Props) => import("react").ReactPortal;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Material, Object3D } from 'three';
|
|
2
|
+
import type { ShadeMode } from '../Editor';
|
|
3
|
+
import { MeshBasicMaterial } from 'three';
|
|
4
|
+
export declare function applyShadeMode(root: Object3D, mode: ShadeMode, originalMaterials: Map<string, Material | Material[]>, shadeOverrideMaterials: Map<string, MeshBasicMaterial>, flatColors: Map<string, number>): void;
|