Game Engine Classes

class SimDataBlock : SimObject

Warning

Only one superordinate class from which other classes inherit.

class GameBaseData : SimDataBlock

Warning

Only one superordinate class from which other classes inherit.

class ShapeBaseData : GameBaseData

Warning

Only one superordinate class from which other classes inherit.

class LightAnimData : SimDataBlock

Warning

Only one superordinate class from which other classes inherit.

class DecalData : SimDataBlock

Warning

Only one superordinate class from which other classes inherit.

class PrecipitationData : GameBaseData

Warning

Only one superordinate class from which other classes inherit.

class LightFlareData

Warning

Only one superordinate class from which other classes inherit.

class ParticleData : GameBaseData

Warning

Only one superordinate class from which other classes inherit.

class ParticleEmitterData : GameBaseData

Warning

Only one superordinate class from which other classes inherit.

class ParticleEmitterNodeData : GameBaseData

Warning

Only one superordinate class from which other classes inherit.

class MissionMarkerData : ShapeBaseData

Warning

Only one superordinate class from which other classes inherit.

class GameBase : SceneObject

Warning

Only one superordinate class from which other classes inherit.

class ForestItemData : SimDataBlock

Warning

Only one superordinate class from which other classes inherit.

class ShapeBase : GameBase

Warning

Only one superordinate class from which other classes inherit.

Modules

class Sim
SimObject splaywnObject(char spawnClass, char spawnDataBlock, char spawnName, char spawnProperties, char spawnScript)
SimObject findObject(char name)
serializeObjectToFile(char objName, char filename)
deserializeObjectFromFile(char filename, char objName)
deserializeObjectsFromFile(char json_filename_utf8, bool updateOnly)
class GFXInit
table getAdapters()
class Engine
class Audio
table getInfo()
table playOnce()
int createSource(char descriptionStr, char filename)
Returns:0 if failed else returns SFXSource id
deleteSource(int sourceId)
Parameters:sourceId – The SFXSource id to delete
SFXParameterGroup getGlobalParams()

#if defined(SFX_EXPERIMENTAL)

class Platform
int getRealMilliseconds()
table getMemoryInfo()
table getCPUInfo()
table getGPUInfo()
table getOSInfo()
table getPowerInfo()
bool getDirectInputSupport()
bool getXInputSupport()
bool isNetworkUnrestricted()

New in version 0.11.

Returns:false if the network have a data cap or is metered

default behavior if unknown is unrestricted

Note:not available on Windows 7 so default behavior
exploreFolder(char path)
openFile(char path)
repaintCanvas()
runBananaBench(char outputFilename)
startCommandListener()
runSupportTool(char token)
table getStartingArgs()
table getStartingCommandLine()
class Render
class DynamicDecalMgr
addDecal(table)
class DecalMgr
offsetInstances(Point3F offset)
class TrackIR
bool init()
bool available()
bool recording()
start()
stop()
bool getData(table)