Polycode
|
3D base entity. More...
Inherits Polycode::Entity, and Polycode::EventDispatcher.
Inherited by Polycode::Bone, Polycode::Camera, Polycode::SceneLight, Polycode::SceneLine, Polycode::SceneMesh, Polycode::SceneParticleEmitter, Polycode::SceneSound, Polycode::SceneSoundListener, and Polycode::Skeleton.
Public Member Functions | |
virtual bool | testMouseCollision (Number x, Number y) |
Test mouse collision on the scene entity at a specified screen point. | |
Public Attributes | |
bool | castShadows |
If set to true, will cast shadows (Defaults to true). |
3D base entity.
SceneEntities are the base class for all 3D entities in Polycode. A thin wrapper around Entity, it inherits most of its functionality.
virtual bool Polycode::SceneEntity::testMouseCollision | ( | Number | x, |
Number | y | ||
) | [inline, virtual] |
Test mouse collision on the scene entity at a specified screen point.
Each SceneEntity subclass must implement this if it wants to support this feature.
x | X position on screen. |
y | Y position on screen. |