Add default project time settings to runtime scene fixture
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
|||||||
createStopAnimationInteractionLink,
|
createStopAnimationInteractionLink,
|
||||||
createStopSoundInteractionLink
|
createStopSoundInteractionLink
|
||||||
} from "../../src/interactions/interaction-links";
|
} from "../../src/interactions/interaction-links";
|
||||||
|
import { createDefaultProjectTimeSettings } from "../../src/document/project-time-settings";
|
||||||
import { createDefaultWorldSettings } from "../../src/document/world-settings";
|
import { createDefaultWorldSettings } from "../../src/document/world-settings";
|
||||||
import { RuntimeInteractionSystem } from "../../src/runtime-three/runtime-interaction-system";
|
import { RuntimeInteractionSystem } from "../../src/runtime-three/runtime-interaction-system";
|
||||||
import type { RuntimeSceneDefinition } from "../../src/runtime-three/runtime-scene-build";
|
import type { RuntimeSceneDefinition } from "../../src/runtime-three/runtime-scene-build";
|
||||||
@@ -20,6 +21,7 @@ function createRuntimeSceneFixture(): RuntimeSceneDefinition {
|
|||||||
const movementTemplate = createPlayerStartMovementTemplate();
|
const movementTemplate = createPlayerStartMovementTemplate();
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
time: createDefaultProjectTimeSettings(),
|
||||||
world: {
|
world: {
|
||||||
...createDefaultWorldSettings(),
|
...createDefaultWorldSettings(),
|
||||||
background: {
|
background: {
|
||||||
|
|||||||
Reference in New Issue
Block a user