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 Data Documentation

Initial value:
 ModifierUsage_Spawn
            | ModifierUsage_Sprite

ModifierUsage.


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

Generated on Sat Dec 1 2018 15:52:09

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