APEX Framework: nvidia::apex::RandomScaleModifier Class Reference

NVIDIA APEX

nvidia::apex::RandomScaleModifier Class Reference

RandomScaleModifier applies a random scale uniformly to all three dimensions. Currently, the scale is a uniform in the range specified. More...

#include <Modifier.h>

Inheritance diagram for nvidia::apex::RandomScaleModifier:
nvidia::apex::ModifierT< RandomScaleModifier > nvidia::apex::Modifier

List of all members.

Public Member Functions

virtual Range< float > getScaleFactor () const =0
 get the range of scale factors along the three axes
virtual void setScaleFactor (const Range< float > &s)=0
 set the range of scale factors along the three axes

Static Public Attributes

static const ModifierTypeEnum ModifierType = ModifierType_RandomScale
 ModifierType.
static const uint32_t ModifierUsage
 ModifierUsage.

Detailed Description

RandomScaleModifier applies a random scale uniformly to all three dimensions. Currently, the scale is a uniform in the range specified.


Member Data Documentation

Initial value:
 ModifierUsage_Spawn
            | ModifierUsage_Sprite | ModifierUsage_Mesh

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.