@aura3d/editor-runtime 2.0.0 → 2.0.1
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/AnimationSceneEditor.d.ts +5 -5
- package/dist/AssetDropZone.d.ts +2 -2
- package/dist/CameraPathEditor.d.ts +3 -3
- package/dist/CommandHistory.d.ts +1 -1
- package/dist/CurveEditor.d.ts +3 -3
- package/dist/EditorRuntime.d.ts +13 -13
- package/dist/EditorStateModel.d.ts +1 -1
- package/dist/Gizmo.d.ts +2 -2
- package/dist/HierarchyModel.d.ts +1 -1
- package/dist/InspectorModel.d.ts +1 -1
- package/dist/InteractiveTransformGizmo.d.ts +1 -1
- package/dist/KeyframeEditor.d.ts +2 -2
- package/dist/NonlinearAnimationEditor.d.ts +3 -3
- package/dist/ProjectSerializer.d.ts +2 -2
- package/dist/PropertyPanel.d.ts +2 -2
- package/dist/RotateGizmo.d.ts +1 -1
- package/dist/ScaleGizmo.d.ts +1 -1
- package/dist/SceneOutliner.d.ts +3 -3
- package/dist/TimelineEditorController.d.ts +4 -4
- package/dist/TimelineRuntimeBridge.d.ts +2 -2
- package/dist/TimelineTrackTypes.d.ts +1 -1
- package/dist/TimelineUI.d.ts +1 -1
- package/dist/TranslateGizmo.d.ts +1 -1
- package/dist/VisualReviewDashboard.d.ts +1 -1
- package/dist/commands/CreateNodeCommand.d.ts +1 -1
- package/dist/commands/DeleteNodeCommand.d.ts +2 -2
- package/dist/commands/ReparentNodeCommand.d.ts +1 -1
- package/dist/commands/SetPropertyCommand.d.ts +1 -1
- package/dist/commands/TransformCommand.d.ts +1 -1
- package/dist/index.d.ts +79 -79
- package/package.json +7 -4
- package/dist/CartoonSceneEditor.d.ts +0 -111
- package/dist/CartoonSceneEditor.d.ts.map +0 -1
- package/dist/CartoonSceneEditor.js +0 -285
- package/dist/CartoonSceneEditor.js.map +0 -1
- package/dist/LocalizationAccessibilityFixtures.d.ts +0 -70
- package/dist/LocalizationAccessibilityFixtures.d.ts.map +0 -1
- package/dist/LocalizationAccessibilityFixtures.js +0 -275
- package/dist/LocalizationAccessibilityFixtures.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EditorRuntime } from "./EditorRuntime";
|
|
2
|
-
import type { EpisodeReviewPanelSnapshot } from "./EpisodeReviewPanel";
|
|
3
|
-
import type { HierarchyLikeNode } from "./HierarchyModel";
|
|
4
|
-
import type { RenderQueuePanelSnapshot } from "./RenderQueuePanel";
|
|
5
|
-
import { AssetDropZone, type AssetDropPlacement, type AnimationAssetCategory, type AnimationEditorAssetReference } from "./AssetDropZone";
|
|
1
|
+
import { EditorRuntime } from "./EditorRuntime.js";
|
|
2
|
+
import type { EpisodeReviewPanelSnapshot } from "./EpisodeReviewPanel.js";
|
|
3
|
+
import type { HierarchyLikeNode } from "./HierarchyModel.js";
|
|
4
|
+
import type { RenderQueuePanelSnapshot } from "./RenderQueuePanel.js";
|
|
5
|
+
import { AssetDropZone, type AssetDropPlacement, type AnimationAssetCategory, type AnimationEditorAssetReference } from "./AssetDropZone.js";
|
|
6
6
|
export interface AnimationSceneTransform {
|
|
7
7
|
position: {
|
|
8
8
|
x: number;
|
package/dist/AssetDropZone.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CommandHistory } from "./CommandHistory";
|
|
2
|
-
import type { EditorProjectAssetDocument } from "./ProjectSerializer";
|
|
1
|
+
import { CommandHistory } from "./CommandHistory.js";
|
|
2
|
+
import type { EditorProjectAssetDocument } from "./ProjectSerializer.js";
|
|
3
3
|
export type AnimationAssetCategory = "character" | "set" | "prop" | "camera" | "light" | "audio" | "material" | "unknown";
|
|
4
4
|
export interface AnimationEditorAssetReference extends EditorProjectAssetDocument {
|
|
5
5
|
readonly kind?: "aura-asset-ref" | "editor-asset-ref";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CommandHistory } from "./CommandHistory";
|
|
2
|
-
import { type TimelineKeyframe } from "./KeyframeEditor";
|
|
3
|
-
import type { TimelineClip } from "./TimelineModel";
|
|
1
|
+
import { CommandHistory } from "./CommandHistory.js";
|
|
2
|
+
import { type TimelineKeyframe } from "./KeyframeEditor.js";
|
|
3
|
+
import type { TimelineClip } from "./TimelineModel.js";
|
|
4
4
|
export type EditorCameraVector3 = readonly [number, number, number];
|
|
5
5
|
export interface EditorCameraPathKeyframe {
|
|
6
6
|
readonly id: string;
|
package/dist/CommandHistory.d.ts
CHANGED
package/dist/CurveEditor.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CommandHistory } from "./CommandHistory";
|
|
2
|
-
import { type TimelineBezierHandle, type TimelineKeyframe, type TimelineKeyframeValue } from "./KeyframeEditor";
|
|
3
|
-
import type { TimelineClip } from "./TimelineModel";
|
|
1
|
+
import { CommandHistory } from "./CommandHistory.js";
|
|
2
|
+
import { type TimelineBezierHandle, type TimelineKeyframe, type TimelineKeyframeValue } from "./KeyframeEditor.js";
|
|
3
|
+
import type { TimelineClip } from "./TimelineModel.js";
|
|
4
4
|
export interface TimelineCurvePoint {
|
|
5
5
|
readonly time: number;
|
|
6
6
|
readonly value: number;
|
package/dist/EditorRuntime.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { Ray } from "@aura3d/math";
|
|
2
|
-
import { CommandHistory } from "./CommandHistory";
|
|
3
|
-
import type { Command, CommandContext } from "./Command";
|
|
4
|
-
import { DiagnosticsOverlayModel, type EditorDiagnosticsInput, type EditorDiagnosticsSnapshot } from "./DiagnosticsOverlayModel";
|
|
5
|
-
import { type GizmoDrag, type GizmoSettings } from "./Gizmo";
|
|
6
|
-
import { EditorStateModel, type EditorStateSnapshot, type EditorStateStorage, type EditorViewportSettings } from "./EditorStateModel";
|
|
7
|
-
import { HierarchyModel, type HierarchyLikeNode, type HierarchyNodeDescriptor } from "./HierarchyModel";
|
|
8
|
-
import { InspectorModel, type InspectorEditableValue, type InspectorProperty } from "./InspectorModel";
|
|
9
|
-
import { MaterialVariantWorkflow, type MaterialVariantState } from "./MaterialVariantWorkflow";
|
|
10
|
-
import type { PlayModeBridge } from "./PlayModeBridge";
|
|
11
|
-
import { type EditorPickHit, type EditorPickTarget, type EditorPickingEvidenceSnapshot } from "./PickingService";
|
|
12
|
-
import { PrefabRegistry, type EditorPrefabNodeBase } from "./PrefabRegistry";
|
|
13
|
-
import { Selection, type SelectionId } from "./Selection";
|
|
14
|
-
import type { TransformTarget } from "./commands/TransformCommand";
|
|
2
|
+
import { CommandHistory } from "./CommandHistory.js";
|
|
3
|
+
import type { Command, CommandContext } from "./Command.js";
|
|
4
|
+
import { DiagnosticsOverlayModel, type EditorDiagnosticsInput, type EditorDiagnosticsSnapshot } from "./DiagnosticsOverlayModel.js";
|
|
5
|
+
import { type GizmoDrag, type GizmoSettings } from "./Gizmo.js";
|
|
6
|
+
import { EditorStateModel, type EditorStateSnapshot, type EditorStateStorage, type EditorViewportSettings } from "./EditorStateModel.js";
|
|
7
|
+
import { HierarchyModel, type HierarchyLikeNode, type HierarchyNodeDescriptor } from "./HierarchyModel.js";
|
|
8
|
+
import { InspectorModel, type InspectorEditableValue, type InspectorProperty } from "./InspectorModel.js";
|
|
9
|
+
import { MaterialVariantWorkflow, type MaterialVariantState } from "./MaterialVariantWorkflow.js";
|
|
10
|
+
import type { PlayModeBridge } from "./PlayModeBridge.js";
|
|
11
|
+
import { type EditorPickHit, type EditorPickTarget, type EditorPickingEvidenceSnapshot } from "./PickingService.js";
|
|
12
|
+
import { PrefabRegistry, type EditorPrefabNodeBase } from "./PrefabRegistry.js";
|
|
13
|
+
import { Selection, type SelectionId } from "./Selection.js";
|
|
14
|
+
import type { TransformTarget } from "./commands/TransformCommand.js";
|
|
15
15
|
export type EditorMode = "edit" | "play" | "paused";
|
|
16
16
|
export interface EditorRuntimeSnapshot {
|
|
17
17
|
readonly mode: EditorMode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type GizmoPivotMode, type GizmoSettings, type GizmoSpaceMode } from "./Gizmo";
|
|
1
|
+
import { type GizmoPivotMode, type GizmoSettings, type GizmoSpaceMode } from "./Gizmo.js";
|
|
2
2
|
export interface EditorStateStorage {
|
|
3
3
|
getItem(key: string): string | null;
|
|
4
4
|
setItem(key: string, value: string): void;
|
package/dist/Gizmo.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Ray } from "@aura3d/math";
|
|
2
|
-
import type { CommandHistory } from "./CommandHistory";
|
|
3
|
-
import type { TransformTarget } from "./commands/TransformCommand";
|
|
2
|
+
import type { CommandHistory } from "./CommandHistory.js";
|
|
3
|
+
import type { TransformTarget } from "./commands/TransformCommand.js";
|
|
4
4
|
export type GizmoAxis = "x" | "y" | "z" | "uniform";
|
|
5
5
|
export type GizmoPlaneAxis = "xy" | "xz" | "yz";
|
|
6
6
|
export type GizmoHandle = GizmoAxis | GizmoPlaneAxis;
|
package/dist/HierarchyModel.d.ts
CHANGED
package/dist/InspectorModel.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SetPropertyCommand } from "./commands/SetPropertyCommand";
|
|
1
|
+
import { SetPropertyCommand } from "./commands/SetPropertyCommand.js";
|
|
2
2
|
export type InspectorEditableValue = number | string | boolean;
|
|
3
3
|
export interface InspectorProperty {
|
|
4
4
|
readonly path: readonly string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ray } from "@aura3d/math";
|
|
2
|
-
import type { GizmoHandle, GizmoSettings, GizmoSpaceMode } from "./Gizmo";
|
|
2
|
+
import type { GizmoHandle, GizmoSettings, GizmoSpaceMode } from "./Gizmo.js";
|
|
3
3
|
export type InteractiveGizmoMode = "translate" | "rotate" | "scale";
|
|
4
4
|
/**
|
|
5
5
|
* One pickable, renderable gizmo handle.
|
package/dist/KeyframeEditor.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CommandHistory } from "./CommandHistory";
|
|
2
|
-
import type { TimelineClip } from "./TimelineModel";
|
|
1
|
+
import { CommandHistory } from "./CommandHistory.js";
|
|
2
|
+
import type { TimelineClip } from "./TimelineModel.js";
|
|
3
3
|
export type TimelineKeyframeValue = number | string | boolean;
|
|
4
4
|
export type TimelineKeyframeInterpolation = "hold" | "linear" | "bezier";
|
|
5
5
|
export interface TimelineBezierHandle {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type TimelineEditorSnapshot } from "./TimelineEditorController";
|
|
2
|
-
import { type TimelineClipConfig, type TimelineModelConfig, type TimelineTrackConfig } from "./TimelineModel";
|
|
3
|
-
import { type TimelineEditorTrackKind } from "./TimelineTrackTypes";
|
|
1
|
+
import { type TimelineEditorSnapshot } from "./TimelineEditorController.js";
|
|
2
|
+
import { type TimelineClipConfig, type TimelineModelConfig, type TimelineTrackConfig } from "./TimelineModel.js";
|
|
3
|
+
import { type TimelineEditorTrackKind } from "./TimelineTrackTypes.js";
|
|
4
4
|
export type NonlinearBinAssetKind = "animation" | "audio" | "camera" | "shot" | "sequence" | "caption" | "viseme";
|
|
5
5
|
export interface NonlinearBinAsset {
|
|
6
6
|
readonly id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type TimelineModelConfig } from "./TimelineModel";
|
|
2
|
-
import type { TimelineRuntimeBindingConfig } from "./TimelineRuntimeBridge";
|
|
1
|
+
import { type TimelineModelConfig } from "./TimelineModel.js";
|
|
2
|
+
import type { TimelineRuntimeBindingConfig } from "./TimelineRuntimeBridge.js";
|
|
3
3
|
export interface EditorProjectAssetDocument {
|
|
4
4
|
readonly id: string;
|
|
5
5
|
readonly name: string;
|
package/dist/PropertyPanel.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CommandHistory } from "./CommandHistory";
|
|
2
|
-
import { InspectorModel, type InspectorEditableValue, type InspectorProperty } from "./InspectorModel";
|
|
1
|
+
import { CommandHistory } from "./CommandHistory.js";
|
|
2
|
+
import { InspectorModel, type InspectorEditableValue, type InspectorProperty } from "./InspectorModel.js";
|
|
3
3
|
export interface PropertyPanelField extends InspectorProperty {
|
|
4
4
|
readonly label: string;
|
|
5
5
|
}
|
package/dist/RotateGizmo.d.ts
CHANGED
package/dist/ScaleGizmo.d.ts
CHANGED
package/dist/SceneOutliner.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type HierarchyNodeDescriptor } from "./HierarchyModel";
|
|
2
|
-
import type { SelectionId } from "./Selection";
|
|
3
|
-
import type { AnimationSceneNode } from "./AnimationSceneEditor";
|
|
1
|
+
import { type HierarchyNodeDescriptor } from "./HierarchyModel.js";
|
|
2
|
+
import type { SelectionId } from "./Selection.js";
|
|
3
|
+
import type { AnimationSceneNode } from "./AnimationSceneEditor.js";
|
|
4
4
|
export interface SceneOutlinerItem extends HierarchyNodeDescriptor {
|
|
5
5
|
readonly icon: string;
|
|
6
6
|
readonly kind: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CommandHistory } from "./CommandHistory";
|
|
2
|
-
import { Selection, type SelectionId } from "./Selection";
|
|
3
|
-
import { TimelineClip, TimelineModel, TimelineTrack, type TimelineClipConfig, type TimelineModelConfig, type TimelineTrackConfig } from "./TimelineModel";
|
|
4
|
-
import { type TimelineEditorTrackKind } from "./TimelineTrackTypes";
|
|
1
|
+
import { CommandHistory } from "./CommandHistory.js";
|
|
2
|
+
import { Selection, type SelectionId } from "./Selection.js";
|
|
3
|
+
import { TimelineClip, TimelineModel, TimelineTrack, type TimelineClipConfig, type TimelineModelConfig, type TimelineTrackConfig } from "./TimelineModel.js";
|
|
4
|
+
import { type TimelineEditorTrackKind } from "./TimelineTrackTypes.js";
|
|
5
5
|
export interface TimelineEditorControllerOptions {
|
|
6
6
|
readonly timeline?: TimelineModel;
|
|
7
7
|
readonly history?: CommandHistory;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TimelineModel } from "./TimelineModel";
|
|
2
|
-
import type { TimelineClipBlendMode, TimelineSnapshot } from "./TimelineModel";
|
|
1
|
+
import { TimelineModel } from "./TimelineModel.js";
|
|
2
|
+
import type { TimelineClipBlendMode, TimelineSnapshot } from "./TimelineModel.js";
|
|
3
3
|
export interface TimelineRuntimeBindingConfig {
|
|
4
4
|
readonly trackId?: string;
|
|
5
5
|
readonly trackName?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TimelineTrackConfig } from "./TimelineModel";
|
|
1
|
+
import type { TimelineTrackConfig } from "./TimelineModel.js";
|
|
2
2
|
export type TimelineEditorTrackKind = "shot" | "animation" | "audio" | "viseme" | "camera" | "dialogue" | "sfx" | "caption" | "selection" | "signal" | "generic";
|
|
3
3
|
export interface TimelineTrackTypeDefinition {
|
|
4
4
|
readonly kind: TimelineEditorTrackKind;
|
package/dist/TimelineUI.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TimelineEditorController, type TimelineEditorSnapshot } from "./TimelineEditorController";
|
|
1
|
+
import { TimelineEditorController, type TimelineEditorSnapshot } from "./TimelineEditorController.js";
|
|
2
2
|
export interface TimelineUIOptions {
|
|
3
3
|
readonly document?: Document;
|
|
4
4
|
readonly className?: string;
|
package/dist/TranslateGizmo.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EpisodeReviewManualVisemeEdit, EpisodeReviewNote, EpisodeReviewPanelSnapshot, EpisodeReviewRejectedFrame, EpisodeReviewWaveformLane } from "./EpisodeReviewPanel";
|
|
1
|
+
import type { EpisodeReviewManualVisemeEdit, EpisodeReviewNote, EpisodeReviewPanelSnapshot, EpisodeReviewRejectedFrame, EpisodeReviewWaveformLane } from "./EpisodeReviewPanel.js";
|
|
2
2
|
export interface VisualReviewDashboardPackage {
|
|
3
3
|
readonly packageId: string;
|
|
4
4
|
readonly status: EpisodeReviewPanelSnapshot["status"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Command } from "../Command";
|
|
2
|
-
import type { NodeContainer } from "./CreateNodeCommand";
|
|
1
|
+
import type { Command } from "../Command.js";
|
|
2
|
+
import type { NodeContainer } from "./CreateNodeCommand.js";
|
|
3
3
|
export declare class DeleteNodeCommand<TNode> implements Command {
|
|
4
4
|
private readonly container;
|
|
5
5
|
private readonly node;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
export type { Command, CommandContext } from "./Command";
|
|
2
|
-
export { CommandHistory, CommandTransactionError } from "./CommandHistory";
|
|
3
|
-
export { AssetDropZone, readAssetFromDataTransfer, serializeAssetForDrag } from "./AssetDropZone";
|
|
4
|
-
export type { AssetDropPlacement, AssetDropResult, AssetDropZoneOptions, AnimationAssetCategory, AnimationEditorAssetReference } from "./AssetDropZone";
|
|
5
|
-
export { CameraPathEditor, createCameraPathEditor, readCameraPathKeyframes } from "./CameraPathEditor";
|
|
6
|
-
export type { EditorCameraPathEvidence, EditorCameraPathKeyframe, EditorCameraPathSample, EditorCameraVector3 } from "./CameraPathEditor";
|
|
7
|
-
export { AnimationSceneEditor, createAnimationSceneNode } from "./AnimationSceneEditor";
|
|
8
|
-
export type { AnimationSceneEditorOptions, AnimationSceneEditorSnapshot, AnimationSceneEpisodeSnapshot, AnimationSceneEpisodeState, AnimationSceneNode, AnimationSceneTransform } from "./AnimationSceneEditor";
|
|
9
|
-
export { CurveEditor } from "./CurveEditor";
|
|
10
|
-
export type { TimelineCurveEvidence, TimelineCurvePoint, TimelineCurveSample } from "./CurveEditor";
|
|
11
|
-
export { DiagnosticsOverlayModel } from "./DiagnosticsOverlayModel";
|
|
12
|
-
export type { EditorDiagnosticsInput, EditorDiagnosticsResource, EditorDiagnosticsSnapshot } from "./DiagnosticsOverlayModel";
|
|
13
|
-
export { EditorRuntime } from "./EditorRuntime";
|
|
14
|
-
export type { EditorMode, EditorRuntimeSnapshot } from "./EditorRuntime";
|
|
15
|
-
export { EventTrackEditor, createEventTrackEditor } from "./EventTrackEditor";
|
|
16
|
-
export type { AddEventMarkerOptions, EventMarkerView, EventTrackEditorOptions, EventTrackLane } from "./EventTrackEditor";
|
|
17
|
-
export { EpisodeReviewPanel, createEpisodeReviewPanel } from "./EpisodeReviewPanel";
|
|
18
|
-
export type { EpisodeReviewManualVisemeEdit, EpisodeReviewNote, EpisodeReviewPanelSnapshot, EpisodeReviewPanelState, EpisodeReviewRejectedFrame, EpisodeReviewStatus, EpisodeReviewWaveformLane } from "./EpisodeReviewPanel";
|
|
19
|
-
export { EditorStateModel, createMemoryEditorStateStorage } from "./EditorStateModel";
|
|
20
|
-
export type { EditorGridSnapSettings, EditorStateChange, EditorStateSnapshot, EditorStateStorage, EditorViewportSettings } from "./EditorStateModel";
|
|
21
|
-
export { EditorPluginHost } from "./EditorPluginHost";
|
|
22
|
-
export type { EditorImporterContribution, EditorPanelContribution, EditorPlugin, EditorPluginSnapshot, EditorScriptingNodeContribution, EditorToolContribution } from "./EditorPluginHost";
|
|
23
|
-
export { Gizmo } from "./Gizmo";
|
|
24
|
-
export { DEFAULT_GIZMO_SETTINGS, normalizeGizmoSettings } from "./Gizmo";
|
|
25
|
-
export type { GizmoAxis, GizmoDrag, GizmoHandle, GizmoHit, GizmoPivotMode, GizmoPlaneAxis, GizmoSettings, GizmoSpaceMode } from "./Gizmo";
|
|
26
|
-
export { InteractiveTransformGizmo } from "./InteractiveTransformGizmo";
|
|
27
|
-
export type { GizmoDragUpdate, GizmoHandleGeometry, GizmoPickResult, InteractiveGizmoMode, InteractiveGizmoState, InteractiveTransformGizmoOptions } from "./InteractiveTransformGizmo";
|
|
28
|
-
export { HierarchyModel } from "./HierarchyModel";
|
|
29
|
-
export type { HierarchyLikeNode, HierarchyNodeDescriptor } from "./HierarchyModel";
|
|
30
|
-
export { InspectorModel } from "./InspectorModel";
|
|
31
|
-
export type { InspectorEditableValue, InspectorProperty } from "./InspectorModel";
|
|
32
|
-
export { KeyframeEditor, encodeTimelineKeyframes, readTimelineKeyframes, timelineKeyframesByProperty } from "./KeyframeEditor";
|
|
33
|
-
export type { CreateTimelineKeyframeOptions, PasteTimelineKeyframesOptions, TimelineBezierHandle, TimelineKeyframe, TimelineKeyframeInterpolation, TimelineKeyframeValue } from "./KeyframeEditor";
|
|
34
|
-
export { MaterialVariantWorkflow } from "./MaterialVariantWorkflow";
|
|
35
|
-
export type { MaterialVariantRenderOptions, MaterialVariantState } from "./MaterialVariantWorkflow";
|
|
36
|
-
export { MultiUserReviewWorkflow, createMultiUserReviewWorkflow } from "./MultiUserReviewWorkflow";
|
|
37
|
-
export type { MultiUserReviewWorkflowSnapshot, MultiUserReviewWorkflowState, ReviewDecision, ReviewDecisionStatus, ReviewParticipant, ReviewParticipantRole, ReviewThread, ReviewWorkflowStatus } from "./MultiUserReviewWorkflow";
|
|
38
|
-
export { NonlinearAnimationEditor, createNonlinearAnimationEditor } from "./NonlinearAnimationEditor";
|
|
39
|
-
export type { NonlinearAnimationEditorSnapshot, NonlinearAnimationEditorState, NonlinearBinAsset, NonlinearBinAssetKind, NonlinearSequenceConfig, NonlinearSequenceSnapshot } from "./NonlinearAnimationEditor";
|
|
40
|
-
export { PickingService } from "./PickingService";
|
|
41
|
-
export type { EditorPickHit, EditorPickTarget, EditorPickingColorId, EditorPickingEvidenceSnapshot } from "./PickingService";
|
|
42
|
-
export { PlayModeBridge } from "./PlayModeBridge";
|
|
43
|
-
export type { SnapshotAdapter } from "./PlayModeBridge";
|
|
44
|
-
export { PrefabRegistry, validatePrefab } from "./PrefabRegistry";
|
|
45
|
-
export type { CreatePrefabOptions, EditorPrefab, EditorPrefabNodeBase, EditorPrefabSchemaVersion, InstantiatePrefabOptions } from "./PrefabRegistry";
|
|
46
|
-
export { PropertyPanel } from "./PropertyPanel";
|
|
47
|
-
export type { PropertyPanelField, PropertyPanelOptions } from "./PropertyPanel";
|
|
48
|
-
export { RotateGizmo } from "./RotateGizmo";
|
|
49
|
-
export { RenderQueuePanel, createRenderQueuePanel } from "./RenderQueuePanel";
|
|
50
|
-
export type { RenderQueuePanelItem, RenderQueuePanelItemStatus, RenderQueuePanelSnapshot } from "./RenderQueuePanel";
|
|
51
|
-
export { ScaleGizmo } from "./ScaleGizmo";
|
|
52
|
-
export { SceneOutliner } from "./SceneOutliner";
|
|
53
|
-
export type { SceneOutlinerItem, SceneOutlinerOptions } from "./SceneOutliner";
|
|
54
|
-
export { Selection } from "./Selection";
|
|
55
|
-
export type { SelectionChange, SelectionId, SelectionListener } from "./Selection";
|
|
56
|
-
export { createOldBranchShaderGraphFixture } from "./ShaderGraphModel";
|
|
57
|
-
export type { ShaderGraphDiagnostic, ShaderGraphEdge, ShaderGraphFixture, ShaderGraphNode, ShaderGraphPort, ShaderGraphValueType } from "./ShaderGraphModel";
|
|
58
|
-
export { createStaticExportHtml, createStaticExportRuntime } from "./StaticExportRuntime";
|
|
59
|
-
export type { StaticExportHtmlOptions, StaticExportRuntimeOptions } from "./StaticExportRuntime";
|
|
1
|
+
export type { Command, CommandContext } from "./Command.js";
|
|
2
|
+
export { CommandHistory, CommandTransactionError } from "./CommandHistory.js";
|
|
3
|
+
export { AssetDropZone, readAssetFromDataTransfer, serializeAssetForDrag } from "./AssetDropZone.js";
|
|
4
|
+
export type { AssetDropPlacement, AssetDropResult, AssetDropZoneOptions, AnimationAssetCategory, AnimationEditorAssetReference } from "./AssetDropZone.js";
|
|
5
|
+
export { CameraPathEditor, createCameraPathEditor, readCameraPathKeyframes } from "./CameraPathEditor.js";
|
|
6
|
+
export type { EditorCameraPathEvidence, EditorCameraPathKeyframe, EditorCameraPathSample, EditorCameraVector3 } from "./CameraPathEditor.js";
|
|
7
|
+
export { AnimationSceneEditor, createAnimationSceneNode } from "./AnimationSceneEditor.js";
|
|
8
|
+
export type { AnimationSceneEditorOptions, AnimationSceneEditorSnapshot, AnimationSceneEpisodeSnapshot, AnimationSceneEpisodeState, AnimationSceneNode, AnimationSceneTransform } from "./AnimationSceneEditor.js";
|
|
9
|
+
export { CurveEditor } from "./CurveEditor.js";
|
|
10
|
+
export type { TimelineCurveEvidence, TimelineCurvePoint, TimelineCurveSample } from "./CurveEditor.js";
|
|
11
|
+
export { DiagnosticsOverlayModel } from "./DiagnosticsOverlayModel.js";
|
|
12
|
+
export type { EditorDiagnosticsInput, EditorDiagnosticsResource, EditorDiagnosticsSnapshot } from "./DiagnosticsOverlayModel.js";
|
|
13
|
+
export { EditorRuntime } from "./EditorRuntime.js";
|
|
14
|
+
export type { EditorMode, EditorRuntimeSnapshot } from "./EditorRuntime.js";
|
|
15
|
+
export { EventTrackEditor, createEventTrackEditor } from "./EventTrackEditor.js";
|
|
16
|
+
export type { AddEventMarkerOptions, EventMarkerView, EventTrackEditorOptions, EventTrackLane } from "./EventTrackEditor.js";
|
|
17
|
+
export { EpisodeReviewPanel, createEpisodeReviewPanel } from "./EpisodeReviewPanel.js";
|
|
18
|
+
export type { EpisodeReviewManualVisemeEdit, EpisodeReviewNote, EpisodeReviewPanelSnapshot, EpisodeReviewPanelState, EpisodeReviewRejectedFrame, EpisodeReviewStatus, EpisodeReviewWaveformLane } from "./EpisodeReviewPanel.js";
|
|
19
|
+
export { EditorStateModel, createMemoryEditorStateStorage } from "./EditorStateModel.js";
|
|
20
|
+
export type { EditorGridSnapSettings, EditorStateChange, EditorStateSnapshot, EditorStateStorage, EditorViewportSettings } from "./EditorStateModel.js";
|
|
21
|
+
export { EditorPluginHost } from "./EditorPluginHost.js";
|
|
22
|
+
export type { EditorImporterContribution, EditorPanelContribution, EditorPlugin, EditorPluginSnapshot, EditorScriptingNodeContribution, EditorToolContribution } from "./EditorPluginHost.js";
|
|
23
|
+
export { Gizmo } from "./Gizmo.js";
|
|
24
|
+
export { DEFAULT_GIZMO_SETTINGS, normalizeGizmoSettings } from "./Gizmo.js";
|
|
25
|
+
export type { GizmoAxis, GizmoDrag, GizmoHandle, GizmoHit, GizmoPivotMode, GizmoPlaneAxis, GizmoSettings, GizmoSpaceMode } from "./Gizmo.js";
|
|
26
|
+
export { InteractiveTransformGizmo } from "./InteractiveTransformGizmo.js";
|
|
27
|
+
export type { GizmoDragUpdate, GizmoHandleGeometry, GizmoPickResult, InteractiveGizmoMode, InteractiveGizmoState, InteractiveTransformGizmoOptions } from "./InteractiveTransformGizmo.js";
|
|
28
|
+
export { HierarchyModel } from "./HierarchyModel.js";
|
|
29
|
+
export type { HierarchyLikeNode, HierarchyNodeDescriptor } from "./HierarchyModel.js";
|
|
30
|
+
export { InspectorModel } from "./InspectorModel.js";
|
|
31
|
+
export type { InspectorEditableValue, InspectorProperty } from "./InspectorModel.js";
|
|
32
|
+
export { KeyframeEditor, encodeTimelineKeyframes, readTimelineKeyframes, timelineKeyframesByProperty } from "./KeyframeEditor.js";
|
|
33
|
+
export type { CreateTimelineKeyframeOptions, PasteTimelineKeyframesOptions, TimelineBezierHandle, TimelineKeyframe, TimelineKeyframeInterpolation, TimelineKeyframeValue } from "./KeyframeEditor.js";
|
|
34
|
+
export { MaterialVariantWorkflow } from "./MaterialVariantWorkflow.js";
|
|
35
|
+
export type { MaterialVariantRenderOptions, MaterialVariantState } from "./MaterialVariantWorkflow.js";
|
|
36
|
+
export { MultiUserReviewWorkflow, createMultiUserReviewWorkflow } from "./MultiUserReviewWorkflow.js";
|
|
37
|
+
export type { MultiUserReviewWorkflowSnapshot, MultiUserReviewWorkflowState, ReviewDecision, ReviewDecisionStatus, ReviewParticipant, ReviewParticipantRole, ReviewThread, ReviewWorkflowStatus } from "./MultiUserReviewWorkflow.js";
|
|
38
|
+
export { NonlinearAnimationEditor, createNonlinearAnimationEditor } from "./NonlinearAnimationEditor.js";
|
|
39
|
+
export type { NonlinearAnimationEditorSnapshot, NonlinearAnimationEditorState, NonlinearBinAsset, NonlinearBinAssetKind, NonlinearSequenceConfig, NonlinearSequenceSnapshot } from "./NonlinearAnimationEditor.js";
|
|
40
|
+
export { PickingService } from "./PickingService.js";
|
|
41
|
+
export type { EditorPickHit, EditorPickTarget, EditorPickingColorId, EditorPickingEvidenceSnapshot } from "./PickingService.js";
|
|
42
|
+
export { PlayModeBridge } from "./PlayModeBridge.js";
|
|
43
|
+
export type { SnapshotAdapter } from "./PlayModeBridge.js";
|
|
44
|
+
export { PrefabRegistry, validatePrefab } from "./PrefabRegistry.js";
|
|
45
|
+
export type { CreatePrefabOptions, EditorPrefab, EditorPrefabNodeBase, EditorPrefabSchemaVersion, InstantiatePrefabOptions } from "./PrefabRegistry.js";
|
|
46
|
+
export { PropertyPanel } from "./PropertyPanel.js";
|
|
47
|
+
export type { PropertyPanelField, PropertyPanelOptions } from "./PropertyPanel.js";
|
|
48
|
+
export { RotateGizmo } from "./RotateGizmo.js";
|
|
49
|
+
export { RenderQueuePanel, createRenderQueuePanel } from "./RenderQueuePanel.js";
|
|
50
|
+
export type { RenderQueuePanelItem, RenderQueuePanelItemStatus, RenderQueuePanelSnapshot } from "./RenderQueuePanel.js";
|
|
51
|
+
export { ScaleGizmo } from "./ScaleGizmo.js";
|
|
52
|
+
export { SceneOutliner } from "./SceneOutliner.js";
|
|
53
|
+
export type { SceneOutlinerItem, SceneOutlinerOptions } from "./SceneOutliner.js";
|
|
54
|
+
export { Selection } from "./Selection.js";
|
|
55
|
+
export type { SelectionChange, SelectionId, SelectionListener } from "./Selection.js";
|
|
56
|
+
export { createOldBranchShaderGraphFixture } from "./ShaderGraphModel.js";
|
|
57
|
+
export type { ShaderGraphDiagnostic, ShaderGraphEdge, ShaderGraphFixture, ShaderGraphNode, ShaderGraphPort, ShaderGraphValueType } from "./ShaderGraphModel.js";
|
|
58
|
+
export { createStaticExportHtml, createStaticExportRuntime } from "./StaticExportRuntime.js";
|
|
59
|
+
export type { StaticExportHtmlOptions, StaticExportRuntimeOptions } from "./StaticExportRuntime.js";
|
|
60
60
|
export * from "./ProjectSerializer.js";
|
|
61
|
-
export { TimelineRuntimeBridge, createTimelineRuntimeBridge } from "./TimelineRuntimeBridge";
|
|
62
|
-
export type { TimelineRuntimeAnimationApplication, TimelineRuntimeBindingConfig, TimelineRuntimeBridgeConfig, TimelineRuntimeBridgeSnapshot, TimelineRuntimeSignalDispatch, TimelineRuntimeTarget, TimelineRuntimeTargetSnapshot } from "./TimelineRuntimeBridge";
|
|
63
|
-
export { TranslateGizmo } from "./TranslateGizmo";
|
|
64
|
-
export { TimelineEditorController } from "./TimelineEditorController";
|
|
65
|
-
export type { TimelineEditorClipboard, TimelineEditorControllerOptions, TimelineEditorSnapshot, TimelineRoutePlaybackBinding } from "./TimelineEditorController";
|
|
66
|
-
export { TimelineClip, TimelineModel, TimelineTrack } from "./TimelineModel";
|
|
67
|
-
export type { TimelineActiveClipSnapshot, TimelineClipBlendMode, TimelineClipConfig, TimelineEasingName, TimelineLoopMode, TimelineModelConfig, TimelineSignalEventSnapshot, TimelineSnapshot, TimelineTrackConfig, TimelineTrackSnapshot } from "./TimelineModel";
|
|
68
|
-
export { TIMELINE_TRACK_TYPES, createTimelineTrackConfig, timelineTrackKindFromConfig, timelineTrackTypeDefinition } from "./TimelineTrackTypes";
|
|
69
|
-
export type { CreateTimelineTrackConfigOptions, TimelineEditorTrackKind, TimelineTrackTypeDefinition } from "./TimelineTrackTypes";
|
|
70
|
-
export { TimelineUI, renderTimelineUI } from "./TimelineUI";
|
|
71
|
-
export type { TimelineUIOptions, TimelineUIRenderResult } from "./TimelineUI";
|
|
72
|
-
export { VisualReviewDashboard, createVisualReviewDashboard } from "./VisualReviewDashboard";
|
|
73
|
-
export type { VisualReviewDashboardPackage, VisualReviewDashboardSnapshot } from "./VisualReviewDashboard";
|
|
74
|
-
export { CreateNodeCommand } from "./commands/CreateNodeCommand";
|
|
75
|
-
export type { NodeContainer } from "./commands/CreateNodeCommand";
|
|
76
|
-
export { DeleteNodeCommand } from "./commands/DeleteNodeCommand";
|
|
77
|
-
export { ReparentNodeCommand } from "./commands/ReparentNodeCommand";
|
|
78
|
-
export { SetPropertyCommand } from "./commands/SetPropertyCommand";
|
|
79
|
-
export { TransformCommand } from "./commands/TransformCommand";
|
|
80
|
-
export type { SceneTransformTargetLike, TransformLike, TransformTarget } from "./commands/TransformCommand";
|
|
61
|
+
export { TimelineRuntimeBridge, createTimelineRuntimeBridge } from "./TimelineRuntimeBridge.js";
|
|
62
|
+
export type { TimelineRuntimeAnimationApplication, TimelineRuntimeBindingConfig, TimelineRuntimeBridgeConfig, TimelineRuntimeBridgeSnapshot, TimelineRuntimeSignalDispatch, TimelineRuntimeTarget, TimelineRuntimeTargetSnapshot } from "./TimelineRuntimeBridge.js";
|
|
63
|
+
export { TranslateGizmo } from "./TranslateGizmo.js";
|
|
64
|
+
export { TimelineEditorController } from "./TimelineEditorController.js";
|
|
65
|
+
export type { TimelineEditorClipboard, TimelineEditorControllerOptions, TimelineEditorSnapshot, TimelineRoutePlaybackBinding } from "./TimelineEditorController.js";
|
|
66
|
+
export { TimelineClip, TimelineModel, TimelineTrack } from "./TimelineModel.js";
|
|
67
|
+
export type { TimelineActiveClipSnapshot, TimelineClipBlendMode, TimelineClipConfig, TimelineEasingName, TimelineLoopMode, TimelineModelConfig, TimelineSignalEventSnapshot, TimelineSnapshot, TimelineTrackConfig, TimelineTrackSnapshot } from "./TimelineModel.js";
|
|
68
|
+
export { TIMELINE_TRACK_TYPES, createTimelineTrackConfig, timelineTrackKindFromConfig, timelineTrackTypeDefinition } from "./TimelineTrackTypes.js";
|
|
69
|
+
export type { CreateTimelineTrackConfigOptions, TimelineEditorTrackKind, TimelineTrackTypeDefinition } from "./TimelineTrackTypes.js";
|
|
70
|
+
export { TimelineUI, renderTimelineUI } from "./TimelineUI.js";
|
|
71
|
+
export type { TimelineUIOptions, TimelineUIRenderResult } from "./TimelineUI.js";
|
|
72
|
+
export { VisualReviewDashboard, createVisualReviewDashboard } from "./VisualReviewDashboard.js";
|
|
73
|
+
export type { VisualReviewDashboardPackage, VisualReviewDashboardSnapshot } from "./VisualReviewDashboard.js";
|
|
74
|
+
export { CreateNodeCommand } from "./commands/CreateNodeCommand.js";
|
|
75
|
+
export type { NodeContainer } from "./commands/CreateNodeCommand.js";
|
|
76
|
+
export { DeleteNodeCommand } from "./commands/DeleteNodeCommand.js";
|
|
77
|
+
export { ReparentNodeCommand } from "./commands/ReparentNodeCommand.js";
|
|
78
|
+
export { SetPropertyCommand } from "./commands/SetPropertyCommand.js";
|
|
79
|
+
export { TransformCommand } from "./commands/TransformCommand.js";
|
|
80
|
+
export type { SceneTransformTargetLike, TransformLike, TransformTarget } from "./commands/TransformCommand.js";
|
|
81
81
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aura3d/editor-runtime",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -11,9 +11,12 @@
|
|
|
11
11
|
"main": "./dist/index.js",
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@aura3d/animation": "2.0.
|
|
15
|
-
"@aura3d/math": "2.0.
|
|
16
|
-
"@aura3d/scene": "2.0.
|
|
14
|
+
"@aura3d/animation": "2.0.1",
|
|
15
|
+
"@aura3d/math": "2.0.1",
|
|
16
|
+
"@aura3d/scene": "2.0.1"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@aura3d/engine": "2.0.1"
|
|
17
20
|
},
|
|
18
21
|
"description": "Runtime editor command history, selection state, picking, inspector models, play-mode snapshots, material variants, and transform gizmos for Aura3D.",
|
|
19
22
|
"keywords": [
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { EditorRuntime } from "./EditorRuntime";
|
|
2
|
-
import type { EpisodeReviewPanelSnapshot } from "./EpisodeReviewPanel";
|
|
3
|
-
import type { HierarchyLikeNode } from "./HierarchyModel";
|
|
4
|
-
import type { RenderQueuePanelSnapshot } from "./RenderQueuePanel";
|
|
5
|
-
import { AssetDropZone, type AssetDropPlacement, type CartoonAssetCategory, type CartoonEditorAssetReference } from "./AssetDropZone";
|
|
6
|
-
export interface CartoonSceneTransform {
|
|
7
|
-
position: {
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
z: number;
|
|
11
|
-
};
|
|
12
|
-
rotation: {
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
z: number;
|
|
16
|
-
w: number;
|
|
17
|
-
};
|
|
18
|
-
scale: {
|
|
19
|
-
x: number;
|
|
20
|
-
y: number;
|
|
21
|
-
z: number;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export interface CartoonSceneNode extends HierarchyLikeNode {
|
|
25
|
-
readonly id: string;
|
|
26
|
-
name: string;
|
|
27
|
-
kind: CartoonAssetCategory;
|
|
28
|
-
visible: boolean;
|
|
29
|
-
asset?: CartoonEditorAssetReference;
|
|
30
|
-
transform: CartoonSceneTransform;
|
|
31
|
-
animationClips: string[];
|
|
32
|
-
material?: string;
|
|
33
|
-
readonly children: CartoonSceneNode[];
|
|
34
|
-
}
|
|
35
|
-
export interface CartoonSceneEditorSnapshot {
|
|
36
|
-
readonly nodeCount: number;
|
|
37
|
-
readonly selectedIds: readonly (string | number)[];
|
|
38
|
-
readonly placedAssetCount: number;
|
|
39
|
-
readonly cameraPreviewId: string | null;
|
|
40
|
-
readonly hierarchy: ReturnType<EditorRuntime["flattenHierarchy"]>;
|
|
41
|
-
readonly evidence: {
|
|
42
|
-
readonly assetPlacement: boolean;
|
|
43
|
-
readonly transformGizmos: true;
|
|
44
|
-
readonly propertyInspector: true;
|
|
45
|
-
readonly sceneSaveLoad: true;
|
|
46
|
-
readonly episodeState: boolean;
|
|
47
|
-
};
|
|
48
|
-
readonly episode: CartoonSceneEpisodeSnapshot;
|
|
49
|
-
}
|
|
50
|
-
export interface CartoonSceneEditorOptions {
|
|
51
|
-
readonly runtime?: EditorRuntime;
|
|
52
|
-
readonly root?: CartoonSceneNode;
|
|
53
|
-
readonly episode?: Partial<CartoonSceneEpisodeState>;
|
|
54
|
-
}
|
|
55
|
-
export interface CartoonSceneEpisodeState {
|
|
56
|
-
readonly shots: readonly string[];
|
|
57
|
-
readonly assets: readonly string[];
|
|
58
|
-
readonly captions: readonly string[];
|
|
59
|
-
readonly visemes: readonly string[];
|
|
60
|
-
readonly renderState?: RenderQueuePanelSnapshot;
|
|
61
|
-
readonly reviewState?: EpisodeReviewPanelSnapshot;
|
|
62
|
-
}
|
|
63
|
-
export interface CartoonSceneEpisodeSnapshot extends CartoonSceneEpisodeState {
|
|
64
|
-
readonly shotCount: number;
|
|
65
|
-
readonly assetCount: number;
|
|
66
|
-
readonly captionCount: number;
|
|
67
|
-
readonly visemeCount: number;
|
|
68
|
-
readonly hasRenderState: boolean;
|
|
69
|
-
readonly hasReviewState: boolean;
|
|
70
|
-
}
|
|
71
|
-
export declare class CartoonSceneEditor {
|
|
72
|
-
readonly runtime: EditorRuntime;
|
|
73
|
-
readonly root: CartoonSceneNode;
|
|
74
|
-
readonly dropZone: AssetDropZone<CartoonSceneNode>;
|
|
75
|
-
private cameraPreviewIdInternal;
|
|
76
|
-
private episodeState;
|
|
77
|
-
constructor(options?: CartoonSceneEditorOptions);
|
|
78
|
-
placeAsset(asset: CartoonEditorAssetReference, placement?: AssetDropPlacement): Promise<CartoonSceneNode>;
|
|
79
|
-
addEmptyNode(config: {
|
|
80
|
-
readonly id?: string;
|
|
81
|
-
readonly name: string;
|
|
82
|
-
readonly kind?: CartoonAssetCategory;
|
|
83
|
-
readonly parentId?: string;
|
|
84
|
-
}): Promise<CartoonSceneNode>;
|
|
85
|
-
removeNode(id: string): Promise<void>;
|
|
86
|
-
setTransform(id: string, transform: Partial<CartoonSceneTransform>): Promise<void>;
|
|
87
|
-
selectNode(id: string): void;
|
|
88
|
-
setCameraPreview(id: string | null): void;
|
|
89
|
-
setEpisodeState(state: Partial<CartoonSceneEpisodeState>): CartoonSceneEpisodeSnapshot;
|
|
90
|
-
serializeScene(): CartoonSceneNode;
|
|
91
|
-
loadScene(root: CartoonSceneNode): void;
|
|
92
|
-
flattenHierarchy(): ReturnType<EditorRuntime["flattenHierarchy"]>;
|
|
93
|
-
inspectSelected(): readonly ReturnType<EditorRuntime["inspect"]>[number][];
|
|
94
|
-
snapshot(): CartoonSceneEditorSnapshot;
|
|
95
|
-
private episodeSnapshot;
|
|
96
|
-
private createNodeFromAsset;
|
|
97
|
-
private addNode;
|
|
98
|
-
private requireNode;
|
|
99
|
-
}
|
|
100
|
-
export declare function createCartoonSceneNode(config: {
|
|
101
|
-
readonly id: string;
|
|
102
|
-
readonly name: string;
|
|
103
|
-
readonly kind: CartoonAssetCategory;
|
|
104
|
-
readonly asset?: CartoonEditorAssetReference;
|
|
105
|
-
readonly transform?: CartoonSceneTransform;
|
|
106
|
-
readonly visible?: boolean;
|
|
107
|
-
readonly animationClips?: readonly string[];
|
|
108
|
-
readonly material?: string;
|
|
109
|
-
readonly children?: readonly CartoonSceneNode[];
|
|
110
|
-
}): CartoonSceneNode;
|
|
111
|
-
//# sourceMappingURL=CartoonSceneEditor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CartoonSceneEditor.d.ts","sourceRoot":"","sources":["../../../../packages/editor-runtime/src/CartoonSceneEditor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,KAAK,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAEtI,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,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