fix: 优化空格播放和截图角色标签对不上
This commit is contained in:
@@ -42,16 +42,27 @@ export const DEFAULT_DIRECTOR_TRANSFORM: DirectorTransform = {
|
||||
scale: [1, 1, 1],
|
||||
};
|
||||
|
||||
/**
|
||||
* 地面默认颜色:深灰。
|
||||
* 默认场景与「旧工程迁移」共用这一份,不要在两处各写一个色值。
|
||||
*/
|
||||
export const DEFAULT_GROUND_COLOR = "#303640";
|
||||
|
||||
export interface SceneSettings {
|
||||
scale: number;
|
||||
position: [number, number, number];
|
||||
rotation: [number, number, number];
|
||||
/** 天空(背景)颜色:没接全景图时铺满整个视口 */
|
||||
backgroundColor: string;
|
||||
panoramaYaw: number;
|
||||
panoramaRadius: number;
|
||||
showLabels: boolean;
|
||||
/** 截图 / 视频导出时是否把视口网格一起带进画面(默认 false:导出时藏起网格,更干净) */
|
||||
captureShowGrid: boolean;
|
||||
snapToGrid: boolean;
|
||||
showGround: boolean;
|
||||
/** 地面颜色:和天空颜色一样属于工程设置,可在场景面板里改 */
|
||||
groundColor: string;
|
||||
groundOpacity: number;
|
||||
groundHeight: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user