@tripo3d/engine / createCommandHistory
Function: createCommandHistory()
ts
function createCommandHistory(limit?): CommandHistory;Defined in: history/history.ts:10
创建供编辑器和业务层复用的命令历史服务。
Parameters
| Parameter | Type | Default value |
|---|---|---|
limit | number | DEFAULT_HISTORY_LIMIT |