Integrate authored editor simulation clock in App.tsx
This commit is contained in:
@@ -2463,6 +2463,15 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
|||||||
: authoredNavigationMode === "firstPerson"
|
: authoredNavigationMode === "firstPerson"
|
||||||
? "Ready for First Person"
|
? "Ready for First Person"
|
||||||
: "Ready for Third Person";
|
: "Ready for Third Person";
|
||||||
|
const authoredEditorSimulationClock = createRuntimeClockState(
|
||||||
|
editorState.projectDocument.time
|
||||||
|
);
|
||||||
|
const editorSimulationClock =
|
||||||
|
editorSimulationClockOverride ?? authoredEditorSimulationClock;
|
||||||
|
const editorSimulationTimeState = resolveRuntimeTimeState(
|
||||||
|
editorState.projectDocument.time,
|
||||||
|
editorSimulationClock
|
||||||
|
);
|
||||||
const advancedRendering = editorState.document.world.advancedRendering;
|
const advancedRendering = editorState.document.world.advancedRendering;
|
||||||
const hoveredAsset =
|
const hoveredAsset =
|
||||||
hoveredAssetId === null
|
hoveredAssetId === null
|
||||||
|
|||||||
Reference in New Issue
Block a user