Title | Description |
---|---|
LoopSample | Toggles the sound or music looping. void onSceneCreated() { ... |
SetPositionRoundUp | Toggles the position roundup for sprites. When enabled, the engine will render sprites using... |
SetFastGarbageCollector | Toggles the faster incremental garbage collecting. When the fast garbage collector is... |
EnableRealTimeShadows | Toggles real-time shadow rendering.
|
EnableLightmaps | Toggles pre-rendered lightmaps. It is recommended to leave it enabled for faster static light... |
EnablePreLoadedLightmapsFromFile | Toggles pre rendered lightmaps. If the scene has pre rendered lightmaps, the engine will... |
SetPersistentResources | Toggles persistent resources. More about resource... |
SetZBuffer | Toggles hardware depth sorting. ... |
SetBorderBucketsDrawing | Toggles border bucket processing. More about border... |
SetFixedWidth | This functions is used to compute and set the global scale factor to a value that will... |
SetFixedHeight | This functions is used to compute and set the global scale factor to a value that will... |
StopSample | Stops an audio sample playback. Example: void DoGameOverStuff() { ... |
Standard math functions | Standard math functions. All functions operate with the |
SetZAxisDirection | Sets Z-axis direction to the current scene. More about z-axis... |
SetSampleVolume | Sets the sample volume.
|
SetSampleSpeed | Sets the sample playback frequency scale. Some systems have software or hardware limitations that... |
SetParallaxOrigin | Sets the parallax origin spot for the scene. The default value is |
SetNumIterations | Sets the number of velocity and position iterations of the simulator. The default velocity... |
SetSpriteOrigin | Sets the normalized origin point for the sprite named |
SetGlobalVolume | Sets the global volume. |
SetFixedTimeStepValue | Sets the fixed time step in seconds. The default value is |
SetTimeStepScale | Sets the current time step scale. Scaling the time step is useful to create slow motion... |
SetScaleFactor | Sets the current global scale factor value.... |
SetCameraPos | Sets the camera position. The camera movement can be used to scroll game... |
SetBackgroundColor | Sets the background color. The background color is used to fill the entire back-buffer at the... |
SetAmbientLight | Sets the ambient light color. |
SetGravity | Sets a new gravity value for the current scene. The current gravity value is |
SetSamplePan | Set sample pan.
|
LoadScene | Send a scene load request and assigns... |
LoadScene | Send a scene load request and assigns an |
LoadScene | Send a request to load the scene and assigns an |
LoadScene | Send a request to load a scene from the file named The new... |
SetSpriteRect | Selects a sprite frame for a sprite which has been cut by the |
AddToCameraPos | Scrolls the scene by adding the |
ResolveJoints | Scans all joint declarations in the entities in scene and connects all entities if their parts... |
Scale | Scales the |
Scale | Scales the |
Scale | Scales the |
SaveScene | Saves the current scene into a new scene file. All custom data stored in the entities (except... |
SaveStringToFile | Saves |
IsPixelShaderSupported | Returns true if the GPU supports the required pixel shader model. ... |
length | Returns the vector length. ... |
length | Returns the vector length. ... |
GetSharedData | Returns the value of the shared data named |
GetSystemScreenSize | Returns the system's screen size (if the application is running on windowed mode, the system... |
GetVideoMode | Returns the supported video mode The snippet above lists all supported... |
GetSpriteFrameSize | Returns the sprite current frame size. Sample: void onSceneLoaded() { //... |
GetSpriteSize | Returns the sprite bitmap actual size in pixels. Sample: void... |
multiply | Returns the product of vector |
multiply | Returns the product of vector |
multiply | Returns the product of matrices |
GetVideoModeCount | Returns the number of supported video modes. The snippet above lists all supported video... |
GetNumEntities | Returns the number of entities in scene. ... |
GetNumRenderedEntities | Returns the number of entities drawn on the last time the scene was rendered. If the... |
normalize | Returns the normalized vector. ... |
normalize | Returns the normalized vector. ... |
GetGlobalVolume | Returns the global volume.
|
GetExternalStorageDirectory | Returns the full path to the directory where the game should store files that can be shared among... |
GetGlobalExternalStorageDirectory | Returns the full path to the directory where the game should store files such as player... |
GetResourceDirectory | Returns the full path to the directory where the game is getting its resources from (with a slash... |
GetStringFromFile | Returns the entire content from a file as a string. If it fails, an empty string is... |
GetStringFromFileInPackage | Returns the entire content from a file as a string. This function looks for the file in the game... |
distance | Returns the distance between |
distance | Returns the distance between |
GetSceneFileName | Returns the currently loaded scene file name. |
GetTimeStepScale | Returns the current time step scale. Scaling the time step is useful to create slow motion... |
GetZAxisDirection | Returns the current scene Z-axis direction vector. More about Z-axis... |
GetGravity | Returns the current gravity vector. The default gravity is |
GetScale | Returns the current global scale factor. The default value is |
GetFPSRate | Returns the current FPS rate. ... |
GetTimeF | Returns the current elapsed time in milliseconds. The timer starts running when the application... |
GetTime | Returns the current elapsed time in milliseconds. The timer starts running when the application... |
GetWorldSpaceCursorPos2 | Returns the current cursor position in world space (considering the camera... |
GetBackgroundColor | Returns the current background color in a 32-bit pixel format (e.g. |
GetScreenSize | Returns the current back-buffer size where |
GetCameraPos | Returns the camera position. Camera movement is used to scroll the scene. ... |
UnitsPerSecond | Returns the approximate distance that an object should move during the current frame to keep a... |
GetFixedTimeStepValue | Returns the amount of seconds used by the physics simulator time step frame when the fixed time... |
GetCurrentPhysicsTimeStepMS | Returns the amount of milliseconds that are currently being used by the physics simulator frame... |
GetLastFrameElapsedTime | Returns the amount of milliseconds elapsed during the latest game frame. ... |
GetAbsolutePath | Returns the absolute path of string str =... |
GetInputHandle | Returns a pointer to a valid ETHInput@ input =... |
SeekEntity | Returns a handle to the entity with the given Returns |
SeekEntity | Returns a handle to the entity whose name equals |
IsSharedDataConstant | Returns |
SharedDataExists | Returns ... |
IsSamplePlaying | Returns if... |
GetPositionRoundUp | Returns |
GetZBuffer | Returns |
SampleExists | Returns |
IsFixedTimeStep | Returns |
FileInPackageExists | Returns if... |
FileExists | Returns if... |
IsDrawingBorderBuckets | Returns |
Windowed | Returns |
ArePersistentResourcesEnabled | Returns |
GetArgc | Retrieves the application argument count. ... |
GetArgv | Retrieves an application argument sent by the user usually through command... |
SetWindowProperties | Resets window properties. SetWindowProperties("My Game", 1280, 720, true, true,... |
ReleaseResources | Release all graphic and buffered audio resources loaded so far. ... |