#include <sequence.h>
Inheritance diagram for lilith3d::BlasterSequence:

Public Member Functions | |
| BlasterSequence (const grinliz::Vector3F &origin, const grinliz::Vector3F &dir, float speed, const Mesh *mesh) | |
| void | SetColor (const grinliz::Color3F &color) |
| Set the beam color - should be called before AddSequence. | |
Public Attributes | |
| grinliz::Publisher< BlasterListener > | publish |
| A publisher object to notify when hits occur. | |
| lilith3d::BlasterSequence::BlasterSequence | ( | const grinliz::Vector3F & | origin, | |
| const grinliz::Vector3F & | dir, | |||
| float | speed, | |||
| const Mesh * | mesh | |||
| ) |
Create a blaster bolt.
| origin | Where the bolt starts | |
| dir | Normal vector of the bolt | |
| speed | Speed in map/second of the bont | |
| mesh | If the bolt is emitted from a mesh, it should not self intersect, which is prevented by passing in a mesh pointer. |
1.5.1-p1