Methods
addEventFilter
- addEventFilter(func: EventFilter, handleEmpty?: boolean): void
Returns void
changeSceneMode
- changeSceneMode(mode: SceneMode): void
Returns void
getCurrentTime
- getCurrentTime(): number
Returns number
getInstanceType
- getInstanceType(): "active" | "passive"
Returns "active" | "passive"
raiseEvent
- raiseEvent(event: Event): void
Returns void
raiseTick
- raiseTick(events?: Event[]): void
Returns void
removeAllEventFilters
- removeAllEventFilters(): void
Returns void
saveSnapshot
- saveSnapshot(
frame: number,
snapshot: any,
randGenSer: any,
nextEntityId: number,
timestamp?: number,
): void Parameters
- frame: number
- snapshot: any
- randGenSer: any
- nextEntityId: number
Optional
timestamp: number
Returns void
shouldSaveSnapshot
- shouldSaveSnapshot(): boolean
Returns boolean
エンジンから呼び出される実装依存処理