nvidia::apex::RandomRotationModifier Class Reference
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. |
Detailed Description
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.
Member Function Documentation
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.
Member Data Documentation
const ModifierTypeEnum nvidia::apex::RandomRotationModifier::ModifierType = ModifierType_RandomRotation [static] |
ModifierType.
const uint32_t nvidia::apex::RandomRotationModifier::ModifierUsage [static] |
Initial value:
ModifierUsage.
The documentation for this class was generated from the following file:
Generated on Fri Dec 15 2017 13:59:03
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.