UNPKG

xverse-components-room

Version:

xverse components room

19 lines (18 loc) 592 B
import { Room } from '@xverse/core'; import { IRoomInfo } from './types'; import { Xverse3DWorld } from 'xverse-components-world'; export interface IChange3DProps extends IRoomInfo { roomInstance: Room; } /** * 切换3D场景,仅限于框架内部使用 * @param props * @returns */ export declare const _change3D: (props: IChange3DProps) => Promise<void>; export type IUpdateRoom = Omit<IRoomInfo, 'roomId'>; /** * 切换3D场景,仅限于框架内部使用 * @param props 参数 */ export declare function _updateRoom(this: Xverse3DWorld, props: IUpdateRoom): Promise<void>;