RandomRotationModifier will choose a random orientation for a sprite particle within the range as specified below. More...
#include <Modifier.h>
Inheritance diagram for nvidia::apex::RandomRotationModifier:Public Member Functions | |
| virtual Range< float > | getRotationRange () const =0 |
| get the range of orientations, in radians. | |
| virtual void | setRotationRange (const Range< float > &s)=0 |
| set the range of orientations, in radians. | |
Static Public Attributes | |
| static const ModifierTypeEnum | ModifierType = ModifierType_RandomRotation |
| ModifierType. | |
| static const uint32_t | ModifierUsage |
| ModifierUsage. | |
RandomRotationModifier will choose a random orientation for a sprite particle within the range as specified below.
The values in the range are interpreted as radians. Please keep in mind that all the sprites are coplanar to the screen.
| virtual Range<float> nvidia::apex::RandomRotationModifier::getRotationRange | ( | ) | const [pure virtual] |
get the range of orientations, in radians.
| virtual void nvidia::apex::RandomRotationModifier::setRotationRange | ( | const Range< float > & | s | ) | [pure virtual] |
set the range of orientations, in radians.
const ModifierTypeEnum nvidia::apex::RandomRotationModifier::ModifierType = ModifierType_RandomRotation [static] |
ModifierType.
const uint32_t nvidia::apex::RandomRotationModifier::ModifierUsage [static] |
ModifierUsage.