ModifierDefs.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2008-2017, NVIDIA CORPORATION.  All rights reserved.
00003  *
00004  * NVIDIA CORPORATION and its licensors retain all intellectual property
00005  * and proprietary rights in and to this software, related documentation
00006  * and any modifications thereto.  Any use, reproduction, disclosure or
00007  * distribution of this software and related documentation without an express
00008  * license agreement from NVIDIA CORPORATION is strictly prohibited.
00009  */
00010 
00011 
00012 #ifndef MODIFIER_DEFS_H
00013 #define MODIFIER_DEFS_H
00014 
00015 #include "ApexUsingNamespace.h"
00016 
00017 namespace nvidia
00018 {
00019 namespace apex
00020 {
00021 
00022 PX_PUSH_PACK_DEFAULT
00023 
00027 struct ApexMeshParticleRollType
00028 {
00032     enum Enum
00033     {
00034         SPHERICAL = 0, 
00035         CUBIC,         
00036         FLAT_X,        
00037         FLAT_Y,        
00038         FLAT_Z,        
00039         LONG_X,        
00040         LONG_Y,        
00041         LONG_Z,        
00042         SPRITE,        
00043 
00044         COUNT
00045     };
00046 };
00047 
00054 enum ModifierTypeEnum
00055 {
00056     ModifierType_Invalid                        = 0,
00057     ModifierType_Rotation                       = 1,
00058     ModifierType_SimpleScale                    = 2,
00059     ModifierType_RandomScale                    = 3,
00060     ModifierType_ColorVsLife                    = 4,
00061     ModifierType_ColorVsDensity                 = 5,
00062     ModifierType_SubtextureVsLife               = 6,
00063     ModifierType_OrientAlongVelocity            = 7,
00064     ModifierType_ScaleAlongVelocity             = 8,
00065     ModifierType_RandomSubtexture               = 9,
00066     ModifierType_RandomRotation                 = 10,
00067     ModifierType_ScaleVsLife                    = 11,
00068     ModifierType_ScaleVsDensity                 = 12,
00069     ModifierType_ScaleVsCameraDistance          = 13,
00070     ModifierType_ViewDirectionSorting           = 14,
00071     ModifierType_RotationRate                   = 15,
00072     ModifierType_RotationRateVsLife             = 16,
00073     ModifierType_OrientScaleAlongScreenVelocity = 17,
00074     ModifierType_ScaleByMass                    = 18,
00075     ModifierType_ColorVsVelocity                = 19,
00076 
00077     ModifierType_Count
00078 };
00079 
00083 enum ModifierStage
00084 {
00085     ModifierStage_Spawn = 0,        
00086     ModifierStage_Continuous = 1,   
00087 
00088     ModifierStage_Count
00089 };
00090 
00094 enum ColorChannel
00095 {
00096     ColorChannel_Red    = 0,
00097     ColorChannel_Green  = 1,
00098     ColorChannel_Blue   = 2,
00099     ColorChannel_Alpha  = 3
00100 };
00101 
00105 enum ScaleAxis
00106 {
00107     ScaleAxis_X         = 0,
00108     ScaleAxis_Y         = 1,
00109     ScaleAxis_Z         = 2
00110 };
00111 
00115 enum ModifierUsage
00116 {
00117     ModifierUsage_Spawn         = 0x01,
00118     ModifierUsage_Continuous    = 0x02,
00119 
00120     ModifierUsage_Sprite        = 0x04,
00121     ModifierUsage_Mesh          = 0x08,
00122 };
00123 
00124 PX_POP_PACK
00125 
00126 }
00127 } // namespace nvidia
00128 
00129 #endif // MODIFIER_DEFS_H

Generated on Tue Aug 1 2017 22:44:29

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