Drag[en]gine Script Module DragonScript
1.23
|
Classes | |
class | Instance |
Public Member Functions | |
void | createDecals (CollisionFilter collisionFilter) |
void | dropDecals () |
GameWorld | getGameWorld () |
UniqueID | getID () |
WorldDecal | new () |
void | setGameWorld (GameWorld gameWorld) |
void | setID (UniqueID id) |
void | setOrientation (Quaternion orientation) |
void | setPosition (DVector position) |
void | setSize (Vector size) |
void | setSkin (Skin skin) |
void | setVisible (bool visible) |
Manages a world decal. World decals are a helper class to help manage decals placed in the world instead of being attached to a component. Such decals can spread across multiple world elements. Each element requires an own copy of the decal to yield the proper result. This class stores the decal definition and creates the correct number of engine decals.
void Dragengine.Scenery.WorldDecal.createDecals | ( | CollisionFilter | collisionFilter | ) |
Creates the decal instances.
void Dragengine.Scenery.WorldDecal.dropDecals | ( | ) |
Drops the decal instances.
GameWorld Dragengine.Scenery.WorldDecal.getGameWorld | ( | ) |
Retrieves the game world or null if not attached.
UniqueID Dragengine.Scenery.WorldDecal.getID | ( | ) |
Retrieves the unique id or null if not set.
WorldDecal Dragengine.Scenery.WorldDecal.new | ( | ) |
Creates a new world decal.
void Dragengine.Scenery.WorldDecal.setGameWorld | ( | GameWorld | gameWorld | ) |
Sets the game world or null if not attached.
void Dragengine.Scenery.WorldDecal.setID | ( | UniqueID | id | ) |
Sets the unique id or null to unset it.
void Dragengine.Scenery.WorldDecal.setOrientation | ( | Quaternion | orientation | ) |
Sets the orientation.
void Dragengine.Scenery.WorldDecal.setPosition | ( | DVector | position | ) |
Sets the position.
void Dragengine.Scenery.WorldDecal.setSize | ( | Vector | size | ) |
Sets the size.
void Dragengine.Scenery.WorldDecal.setSkin | ( | Skin | skin | ) |
Sets the skin.
void Dragengine.Scenery.WorldDecal.setVisible | ( | bool | visible | ) |
Sets the visiblity.