Public Member Functions | Static Public Attributes
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:

List of all members.

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.

Initial value:

ModifierUsage.


The documentation for this class was generated from the following file:

Generated on Sat Dec 1 2018 15:52:37

Copyright © 2012-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.