import type { Object3D } from '@anov/3d-core'; /** * 拆楼模式 */ export declare enum EBuildingSplitType { Hide = "hide",// 隐藏上方楼层 Move = "move",// 定向移动 Solo = "solo" } /** * 移动方向枚举 */ export declare enum EDirection { Left = "left", Right = "right", Front = "front", Back = "back", Left_Front = "left_front", Right_Front = "right_front", Left_Back = "left_back", Right_Back = "right_back" } export type AnimationOption = { type: EBuildingSplitType; duration: number; rule?: { direction?: number[]; }; }; export type Option = { building: Object3D; floor?: number; animation?: AnimationOption; };