Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 |
//============================================================================= // $Author: Aleiby $ // $Date: 4/29/02 1:35a $ // $Revision: 2 $ //============================================================================= //------------------------------------------------------------------------------ // Name: Force.uc // Author: Aaron R Leiby // Date: 9 March 2000 //------------------------------------------------------------------------------ // Description: Base class of all forces that can act upon particles. //------------------------------------------------------------------------------ // How to use this class: //------------------------------------------------------------------------------ class Force extends Object within ParticleGenerator abstract native; var() public float Priority; // Used to determine which order the forces // attached to a specific ParticleGenerator // get evaluated in. Example: Velocity needs // to be updated before location, and location // needs to be updated before position. var() public name GroupName; // Used by some ParticleGenerators so they can // pick an choose which Forces they can be // affected by. var() public bool bIterateAll; // Should we iterate all the System's templates, or // just those specified in our Templates list? var() private editinline Array<ParticleTemplate> AffectedTemplates; // Templates that this Force affects the particles of. //////////////// // Interfaces // //////////////// public native event AddTemplate ( ParticleTemplate T ); public native event RemoveTemplate ( ParticleTemplate T ); defaultproperties { bIterateAll=true } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |