Scene

Undocumented in source.
class Scene : BaseScene {}

Constructors

this
this(SceneManager smngr)
Undocumented in source.

Members

Functions

addEntity3D
Entity addEntity3D(Entity e)
Undocumented in source. Be warned that the author may not have intended to support it.
addFontAsset
FontAsset addFontAsset(string filename, uint height, bool preload)
Undocumented in source. Be warned that the author may not have intended to support it.
addIQMAsset
IQMAsset addIQMAsset(string filename, bool preload)
Undocumented in source. Be warned that the author may not have intended to support it.
addImageAsset
ImageAsset addImageAsset(string filename, bool preload)
Undocumented in source. Be warned that the author may not have intended to support it.
addOBJAsset
OBJAsset addOBJAsset(string filename, bool preload)
Undocumented in source. Be warned that the author may not have intended to support it.
addPackageAsset
PackageAsset addPackageAsset(string filename, bool preload)
Undocumented in source. Be warned that the author may not have intended to support it.
addTextAsset
TextAsset addTextAsset(string filename, bool preload)
Undocumented in source. Be warned that the author may not have intended to support it.
addTextureAsset
TextureAsset addTextureAsset(string filename, bool preload)
Undocumented in source. Be warned that the author may not have intended to support it.
asset
auto asset(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
createDecal
Entity createDecal()
Undocumented in source. Be warned that the author may not have intended to support it.
createDecalMaterial
Material createDecalMaterial()
Undocumented in source. Be warned that the author may not have intended to support it.
createEntity2D
Entity createEntity2D(Entity parent)
Undocumented in source. Be warned that the author may not have intended to support it.
createEntity3D
Entity createEntity3D(Entity parent)
Undocumented in source. Be warned that the author may not have intended to support it.
createLight
deprecated LightSource createLight(Vector3f position, Color4f color, float energy, float volumeRadius, float areaRadius)
Undocumented in source. Be warned that the author may not have intended to support it.
createLightSphere
LightSource createLightSphere(Vector3f position, Color4f color, float energy, float volumeRadius, float areaRadius)
Undocumented in source. Be warned that the author may not have intended to support it.
createLightSpot
LightSource createLightSpot(Vector3f position, Color4f color, float energy, Quaternionf rotation, float outerCutoff, float innerCutoff, float volumeRadius)
Undocumented in source. Be warned that the author may not have intended to support it.
createLightSun
LightSource createLightSun(Quaternionf rotation, Color4f color, float energy)
Undocumented in source. Be warned that the author may not have intended to support it.
createLightTube
LightSource createLightTube(Vector3f position, Color4f color, float energy, float volumeRadius, float tubeRadius, Quaternionf rotation, float tubeLength)
Undocumented in source. Be warned that the author may not have intended to support it.
createMaterial
Material createMaterial(Shader shader)
Undocumented in source. Be warned that the author may not have intended to support it.
createMaterial
Material createMaterial()
Undocumented in source. Be warned that the author may not have intended to support it.
createParticleMaterial
Material createParticleMaterial(Shader shader)
Undocumented in source. Be warned that the author may not have intended to support it.
createSky
Entity createSky(Material mat)
Undocumented in source. Be warned that the author may not have intended to support it.
createTerrainMaterial
Material createTerrainMaterial(Shader shader)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteEntity
void deleteEntity(Entity e)
Undocumented in source. Be warned that the author may not have intended to support it.
fixedStepUpdate
void fixedStepUpdate(bool logicsUpdate)
Undocumented in source. Be warned that the author may not have intended to support it.
mainSun
void mainSun(LightSource sun)
Undocumented in source. Be warned that the author may not have intended to support it.
mainSun
LightSource mainSun()
Undocumented in source. Be warned that the author may not have intended to support it.
onAllocate
void onAllocate()
Undocumented in source. Be warned that the author may not have intended to support it.
onLoading
void onLoading(float percentage)
Undocumented in source. Be warned that the author may not have intended to support it.
onLogicsUpdate
void onLogicsUpdate(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
onRelease
void onRelease()
Undocumented in source. Be warned that the author may not have intended to support it.
onRender
void onRender()
Undocumented in source. Be warned that the author may not have intended to support it.
onStart
void onStart()
Undocumented in source. Be warned that the author may not have intended to support it.
onUpdate
void onUpdate(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
sortEntities
void sortEntities(DynamicArray!Entity entities)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_entities2D
DynamicArray!Entity _entities2D;
Undocumented in source.
_entities3D
DynamicArray!Entity _entities3D;
Undocumented in source.
decalShader
DecalShader decalShader;
Undocumented in source.
decalShape
ShapeBox decalShape;
Undocumented in source.
decals
DynamicArray!Entity decals;
Undocumented in source.
defaultDecalMaterial
Material defaultDecalMaterial;
Undocumented in source.
defaultMaterial3D
Material defaultMaterial3D;
Undocumented in source.
defaultSkyMaterial
Material defaultSkyMaterial;
Undocumented in source.
eLoadingProgressBar
Entity eLoadingProgressBar;
Undocumented in source.
entities2Dflat
Entities2D entities2Dflat;
Undocumented in source.
entities3DDynamic
Entities3DDynamic entities3DDynamic;
Undocumented in source.
entities3DStatic
Entities3DStatic entities3DStatic;
Undocumented in source.
entities3Dflat
Entities3D entities3Dflat;
Undocumented in source.
environment
Environment environment;
Undocumented in source.
fixedTimeStep
double fixedTimeStep;
Undocumented in source.
hudShader
HUDShader hudShader;
Undocumented in source.
lightManager
LightManager lightManager;
Undocumented in source.
loadingProgressBar
ShapeQuad loadingProgressBar;
Undocumented in source.
mLoadingProgressBar
Material mLoadingProgressBar;
Undocumented in source.
mainSunLight
LightSource mainSunLight;
Undocumented in source.
maxUpdatesPerFrame
uint maxUpdatesPerFrame;
Undocumented in source.
particleShader
ParticleShader particleShader;
Undocumented in source.
particleSystem
ParticleSystem particleSystem;
Undocumented in source.
renderer
Renderer renderer;
Undocumented in source.
skyShader
SkyShader skyShader;
Undocumented in source.
standardShader
StandardShader standardShader;
Undocumented in source.
terrainShader
TerrainShader terrainShader;
Undocumented in source.
timer
double timer;
Undocumented in source.
view
View view;
Undocumented in source.

Inherited Members

From BaseScene

sceneManager
SceneManager sceneManager;
Undocumented in source.
assetManager
AssetManager assetManager;
Undocumented in source.
canRun
bool canRun;
Undocumented in source.
releaseAtNextStep
bool releaseAtNextStep;
Undocumented in source.
needToLoad
bool needToLoad;
Undocumented in source.
~this
~this()
Undocumented in source.
config
Configuration config()
Undocumented in source. Be warned that the author may not have intended to support it.
addAsset
Asset addAsset(Asset asset, string filename, bool preload)
Undocumented in source. Be warned that the author may not have intended to support it.
onAssetsRequest
void onAssetsRequest()
Undocumented in source. Be warned that the author may not have intended to support it.
onLoading
void onLoading(float percentage)
Undocumented in source. Be warned that the author may not have intended to support it.
onAllocate
void onAllocate()
Undocumented in source. Be warned that the author may not have intended to support it.
onRelease
void onRelease()
Undocumented in source. Be warned that the author may not have intended to support it.
onStart
void onStart()
Undocumented in source. Be warned that the author may not have intended to support it.
onEnd
void onEnd()
Undocumented in source. Be warned that the author may not have intended to support it.
onUpdate
void onUpdate(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
onRender
void onRender()
Undocumented in source. Be warned that the author may not have intended to support it.
exitApplication
void exitApplication()
Undocumented in source. Be warned that the author may not have intended to support it.
load
void load()
Undocumented in source. Be warned that the author may not have intended to support it.
release
void release()
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start()
Undocumented in source. Be warned that the author may not have intended to support it.
end
void end()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta