WorldModule Module
Universal function definitions for the world (1/4).
Type extensions
Type extension | Description |
|
|
|
|
|
|
|
|
|
|
|
Schedule an operation to be executed by the engine at the end of the current frame or the next frame if we've already started processing tasklets. When called in an ImSim Process context, will provide the ImSim simulant context and declared values from World that were active in that Process context as well as time and advancement state.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
World.getEntityDispatchers world
Parameters:
World
Returns: Map<string, EntityDispatcher>
|
|
|
|
Full Usage:
World.getEventTracerOpt world
Parameters:
World
Returns: (string -> unit) option
|
|
|
|
|
|
|
|
Full Usage:
World.getGameDispatchers world
Parameters:
World
Returns: Map<string, GameDispatcher>
|
|
|
|
|
|
Full Usage:
World.getGroupDispatchers world
Parameters:
World
Returns: Map<string, GroupDispatcher>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
World.getScreenDispatchers world
Parameters:
World
Returns: Map<string, ScreenDispatcher>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
World.mapKeyedValue mapper key world
Parameters:
'a -> 'a
key : string
world : World
|
|
|
|
Full Usage:
World.publishPlus eventData eventAddress eventTrace publisher hierarchical selectedOnly world
Parameters:
'a
eventAddress : 'a Address
eventTrace : EventTrace
publisher : 'p
hierarchical : bool
selectedOnly : bool
world : World
|
Extended Type:
|
|
|
|
|
|
|
|
Extended Type:
|
|
|
|
|
Full Usage:
World.setEventTracerOpt tracerOpt world
Parameters:
(string -> unit) option
world : World
|
|
|
|
|
|
|
|
|
|
Full Usage:
World.tryAwaitJob deadline jobId world
Parameters:
DateTimeOffset
jobId : obj
world : World
Returns: JobResult option
|
|
Full Usage:
World.tryGetKeyedValue key world
Parameters:
string
world : World
Returns: 'a option
|
|
Full Usage:
World.tryGetRoutedOverlayNameOpt dispatcherName world
Parameters:
string
world : World
Returns: string option
|
|
Full Usage:
World.tryGetSymbol assetTag metadata world
Parameters:
Symbol AssetTag
metadata : SymbolLoadMetadata
world : World
Returns: Symbol option
|
|
Full Usage:
World.tryGetSymbols implicitDelimiters assetTags world
Parameters:
Symbol AssetTag
assetTags : SymbolLoadMetadata list
world : World
Returns: Symbol list
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
World.tryLoadSymbolPackage implicitDelimiters packageName world
Parameters:
string
packageName : SymbolLoadMetadata
world : World
|
|
Full Usage:
World.tryMakeEmitter time lifeTimeOpt particleLifeTimeMaxOpt particleRate particleMax emitterStyle world
Parameters:
GameTime
lifeTimeOpt : GameTime
particleLifeTimeMaxOpt : GameTime
particleRate : single
particleMax : int
emitterStyle : string
world : World
Returns: Emitter option
|
|
|
|
Full Usage:
World.trySetWindowFullScreen fullScreen world
Parameters:
bool
world : World
|
|
|
|
|
|
|
|
Full Usage:
World.unloadSymbolPackage packageName world
Parameters:
string
world : World
|
|
Full Usage:
World.unsubscribe subscriptionId world
Parameters:
uint64
world : World
|