WorldController
Complete API reference for WorldController, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: World
Component: no
public class WorldController
Static Methods
| Signature | Returns | Description |
|---|---|---|
loadWorld(WorldFile) | void | Loads world into the object. |
loadWorldAsync(WorldFile) | void | Loads world async into the object. |
findObject(String) | SpatialObject | Performs the findObject operation using the provided parameters (name). |
getObjectList() | List<SpatialObject> | Returns the current object list. |
getObjectsCount() | int | Returns the current objects count. |
getObject(int) | SpatialObject | Returns the current object. |
findFirstComponent(Class) | <T extends JAVARuntime.Component> T | Performs the findFirstComponent operation using the provided parameters (classReference). |
findFirstActiveComponent(Class) | <T extends JAVARuntime.Component> T | Performs the findFirstActiveComponent operation using the provided parameters (classReference). |
listAllComponents(String) | List<JAVARuntime.Component> | Performs the listAllComponents operation using the provided parameters (tittle). |
listAllComponents(Class) | List<JAVARuntime.Component> | Performs the listAllComponents operation using the provided parameters (classReference). |
getLoadPercent() | float | Returns the current load percent. |
getLoadProgress() | float | Returns the current load progress. |
getLoadedCount() | int | Returns the current loaded count. |
getLoadTotal() | int | Returns the current load total. |
getLoadMessage() | String | Returns the current load message. |
isLoaded() | boolean | Returns whether loaded is true. |
isLoading() | boolean | Returns whether loading is true. |
getGraphicsSettings() | GraphicsSettings | Returns the current graphics settings. |
getPhysicsSettings() | PhysicsSettings | Returns the current physics settings. |
findObjectWithTag(String) | SpatialObject | Performs the findObjectWithTag operation using the provided parameters (tagName). |
findObjectsWithTag(String) | List<SpatialObject> | Performs the findObjectsWithTag operation using the provided parameters (tagName). |
findRandomObjectWithTag(String) | SpatialObject | Performs the findRandomObjectWithTag operation using the provided parameters (tagName). |
countObjectsWithTag(String) | int | Performs the countObjectsWithTag operation using the provided parameters (tagName). |
hasObjectsWithTag(String) | boolean | Returns whether objects with tag is true. |