TkAstral3D/packages/sdk/lib/constant/enum.ts

58 lines
999 B
TypeScript

/**
* 位置
*/
export const POSITION = {
BOTTOM_LEFT: "bottom-left",
BOTTOM: "bottom",
BOTTOM_CENTER: "bottom",
BOTTOM_RIGHT: "bottom-right",
TOP_LEFT: "top-left",
TOP: "top",
TOP_CENTER: "top",
TOP_RIGHT: "top-right",
LEFT: "left",
RIGHT: "right",
CENTER: "center"
}
/**
* FPS
*/
export const FPS_OPTIONS = {
// 不设限
NO_UPPER_LIMIT:0,
// 低帧率
LOW: 24,
// 中帧率
MEDIUM: 30,
// 高帧率
HIGH:60,
// 超高帧率
ULTRA_HIGH: 120,
}
/**
* 可选漫游角色
*/
export const ROAMING_CHARACTERS = {
JACKIE: "Jackie",
WORK_MAN: "Workman",
X_BOT: "X_Bot",
Y_BOT: "Y_Bot",
}
/**
* 3DTiles DebugTilesPlugin ColorMode enum
*/
export const TILES_DEBUG_COLOR_MODE = {
"None": 0,
"Screen error": 1,
"Geometric error": 2,
"Distance": 3,
"Depth": 4,
"Relative depth": 5,
"Is leaf": 6,
"Random color": 7,
"Random node color": 8,
"Load order": 10,
}