Scene

Undocumented in source.

Constructors

this
this(ResourceManager rm)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addEntity
Entity addEntity(string name, Entity e)
Undocumented in source. Be warned that the author may not have intended to support it.
addMaterial
Material addMaterial(string name, Material m)
Undocumented in source. Be warned that the author may not have intended to support it.
addMesh
Mesh addMesh(string name, Mesh m)
Undocumented in source. Be warned that the author may not have intended to support it.
clearArrays
void clearArrays()
Undocumented in source. Be warned that the author may not have intended to support it.
createArrays
void createArrays()
Undocumented in source. Be warned that the author may not have intended to support it.
createDynamicLights
void createDynamicLights(bool debugDraw)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
entities
Entity[] entities()
Undocumented in source. Be warned that the author may not have intended to support it.
entity
Entity entity(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.
freeEntities
void freeEntities()
Undocumented in source. Be warned that the author may not have intended to support it.
freeMaterials
void freeMaterials()
Undocumented in source. Be warned that the author may not have intended to support it.
freeMeshes
void freeMeshes()
Undocumented in source. Be warned that the author may not have intended to support it.
getMaterialById
Material getMaterialById(int id)
Undocumented in source. Be warned that the author may not have intended to support it.
getTexture
Texture getTexture(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
material
Material material(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
materials
Material[] materials()
Undocumented in source. Be warned that the author may not have intended to support it.
mesh
Mesh mesh(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
meshes
Mesh[] meshes()
Undocumented in source. Be warned that the author may not have intended to support it.
resolveLinks
void resolveLinks()
Undocumented in source. Be warned that the author may not have intended to support it.
setMaterialsAmbientColor
void setMaterialsAmbientColor(Color4f col)
Undocumented in source. Be warned that the author may not have intended to support it.
setMaterialsShadeless
void setMaterialsShadeless(bool shadeless)
Undocumented in source. Be warned that the author may not have intended to support it.
setMaterialsShader
void setMaterialsShader(Shader shader)
Undocumented in source. Be warned that the author may not have intended to support it.
setMaterialsSpecularColor
void setMaterialsSpecularColor(Color4f col)
Undocumented in source. Be warned that the author may not have intended to support it.
setMaterialsTextureSlot
void setMaterialsTextureSlot(uint src, uint dest)
Undocumented in source. Be warned that the author may not have intended to support it.
setMaterialsUseTextures
void setMaterialsUseTextures(bool mode)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_entities
DynamicArray!Entity _entities;
Undocumented in source.
_materials
DynamicArray!Material _materials;
Undocumented in source.
_meshes
DynamicArray!Mesh _meshes;
Undocumented in source.
entitiesByName
Dict!(size_t, string) entitiesByName;
Undocumented in source.
lighted
bool lighted;
Undocumented in source.
materialsByName
Dict!(size_t, string) materialsByName;
Undocumented in source.
meshesByName
Dict!(size_t, string) meshesByName;
Undocumented in source.
rm
ResourceManager rm;
Undocumented in source.
visible
bool visible;
Undocumented in source.

Inherited Members

From Drawable

draw
void draw(double dt)
Undocumented in source.

Meta