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 Data Documentation
const uint32_t nvidia::apex::RandomRotationModifier::ModifierUsage [static] |
Initial value:
ModifierUsage_Spawn | ModifierUsage_Sprite
ModifierUsage.
The documentation for this class was generated from the following file:
Generated on Fri Dec 15 2017 13:58:39
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.