![]() |
Skylicht Engine
|
Base class for zones defined by a single world position. More...
#include <ParticleSystem/Particles/Zones/CPositionZone.h>
Public Member Functions | |
| CPositionZone (EZone type) | |
| void | setPosition (const core::vector3df &pos) |
| Sets relative position. | |
| const core::vector3df & | getPosition () |
| Gets relative position. | |
| Public Member Functions inherited from Skylicht::Particle::CZone | |
| CZone (EZone type) | |
| virtual CObjectSerializable * | createSerializable () |
| Creates a serializable object for property editing or saving. | |
| virtual void | loadSerializable (CObjectSerializable *object) |
| Loads properties from a serializable object. | |
| const wchar_t * | getName () |
| Gets display name. | |
| EZone | getType () |
| Gets zone type. | |
| void | normalizeOrRandomize (core::vector3df &v) |
| Normalizes a vector or randomizes it if it is zero. | |
| virtual void | generatePosition (CParticle &particle, bool full, CGroup *group)=0 |
| Generates a random position within or on the surface of the zone. | |
| virtual core::vector3df | computeNormal (const core::vector3df &point, CGroup *group)=0 |
| Computes the surface normal at a specific point on the zone. | |
Protected Attributes | |
| core::vector3df | m_position |
| Relative position of the zone. | |
| Protected Attributes inherited from Skylicht::Particle::CZone | |
| EZone | m_type |
| Type of the zone. | |
Base class for zones defined by a single world position.