![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IState interface.
The IState object contains all necessary engine interfaces for logic processor programming.
Logic methods typically gets an instance of the IState object by parameter.
Get the logic object factory.
Murl.Logic.IFactory GetFactory()
Get the current tick time. The current tick time is the absolute time from starting the engine.
Number GetCurrentTickTime()
Get the current tick duration.
Number GetCurrentTickDuration()
Get the platform configuration object.
Murl.IPlatformConfiguration GetPlatformConfiguration()
Get the engine configuration object.
Murl.IEngineConfiguration GetEngineConfiguration()
Get the app configuration object.
Murl.IAppConfiguration GetAppConfiguration()
Get the device handler object.
Murl.Logic.IDeviceHandler GetDeviceHandler()
Get the file interface object.
Murl.IFileInterface GetFileInterface()
Get the graph root object.
Murl.Graph.IRoot GetGraphRoot()
Get the package loader object.
Murl.ILoader GetLoader()
Get the resource collection object.
Murl.Resource.ICollection GetResourceCollection()
Get the string value from a text resource.
String GetResourceText(String resourceId)
resourceId | The text resource identifier. |
Get the net object factory.
Murl.Net.IFactory GetNetFactory()
Get the core statistics interface.
Murl.Core.IStatistics GetStatistics()
Set the user debug message on render screen. The debug message is displayed if the built-in "debug" resource package is loaded. See also IAppConfiguration::SetUserDebugInfoEnabled() and IAppConfiguration::SetUserDebugInfoScaleFactor().
SetUserDebugMessage(String message)
message | The message string. |
Append a user debug message on render screen. The debug message is displayed if the built-in "debug" resource package is loaded.
AddUserDebugMessage(String message)
message | The message string to append. |
Get the user debug message string.
String GetUserDebugMessage()
Get the current logic processor. The current logic processor is not available on IAppGraph calls.
Murl.SharedPointer.LogicIProcessor GetCurrentProcessor()
Get the current graph node object. The current graph node is available on IAppGraph calls only.
Murl.Graph.INode GetCurrentGraphNode()
Set the current logic processor. The current processor is typically set by the engine.
SetCurrentProcessor(Murl.SharedPointer.LogicIProcessor processor)
processor | The current logic processor to set. |