APEX IOFX Module: nvidia::apex::ScaleVsCameraDistanceModifier Class Reference

NVIDIA APEX

nvidia::apex::ScaleVsCameraDistanceModifier Class Reference

ScaleVsCameraDistance applies a scale factor against a specific axis based on distance from the camera to the particle. More...

#include <Modifier.h>

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

List of all members.

Public Member Functions

virtual ScaleAxis getScaleAxis () const =0
 get the axis along which the scale factor will be applied
virtual void setScaleAxis (ScaleAxis a)=0
 set the axis along which the scale factor will be applied
virtual const Curve * getFunction () const =0
 get the the curve that defines the dependency between the camera distance and the scale factor
virtual void setFunction (const Curve *f)=0
 set the the curve that defines the dependency between the camera distance and the scale factor

Static Public Attributes

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

Detailed Description

ScaleVsCameraDistance applies a scale factor against a specific axis based on distance from the camera to the particle.


Member Function Documentation

virtual const Curve* nvidia::apex::ScaleVsCameraDistanceModifier::getFunction ( ) const [pure virtual]

get the the curve that defines the dependency between the camera distance and the scale factor

virtual ScaleAxis nvidia::apex::ScaleVsCameraDistanceModifier::getScaleAxis ( ) const [pure virtual]

get the axis along which the scale factor will be applied

virtual void nvidia::apex::ScaleVsCameraDistanceModifier::setFunction ( const Curve *  f) [pure virtual]

set the the curve that defines the dependency between the camera distance and the scale factor

virtual void nvidia::apex::ScaleVsCameraDistanceModifier::setScaleAxis ( ScaleAxis  a) [pure virtual]

set the axis along which the scale factor will be applied


Member Data Documentation

const ModifierTypeEnum nvidia::apex::ScaleVsCameraDistanceModifier::ModifierType = ModifierType_ScaleVsCameraDistance [static]

ModifierType.


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.