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 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 |
/** * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved. */ class ParticleModuleLifetime_Seeded extends ParticleModuleLifetime native(Particle) editinlinenew hidecategories(Object); /** The random seed(s) to use for looking up values in StartLocation */ var(RandomSeed) ParticleRandomSeedInfo RandomSeedInfo; cpptext { /** * Called on a particle when it is spawned. * * @param Owner The emitter instance that spawned the particle * @param Offset The payload data offset for this module * @param SpawnTime The spawn time of the particle */ virtual void Spawn(FParticleEmitterInstance* Owner, INT Offset, FLOAT SpawnTime); /** * Returns the number of bytes the module requires in the emitters 'per-instance' data block. * * @param Owner The FParticleEmitterInstance that 'owns' the particle. * * @return UINT The number of bytes the module needs per emitter instance. */ virtual UINT RequiredBytesPerInstance(FParticleEmitterInstance* Owner = NULL); /** * Allows the module to prep its 'per-instance' data block. * * @param Owner The FParticleEmitterInstance that 'owns' the particle. * @param InstData Pointer to the data block for this module. */ virtual UINT PrepPerInstanceBlock(FParticleEmitterInstance* Owner, void* InstData); /** * Call to retrieve the lifetime value at the given time. * * @param Owner The emitter instance that owns this module * @param InTime The time input for retrieving the lifetime value * @param Data The data associated with the distribution * * @return FLOAT The Lifetime value */ virtual FLOAT GetLifetimeValue(FParticleEmitterInstance* Owner, FLOAT InTime, UObject* Data = NULL); /** * Retrieve the random seed info for this module. * * @return FParticleRandomSeedInfo* The random seed info; NULL if not supported */ virtual FParticleRandomSeedInfo* GetRandomSeedInfo() { return &RandomSeedInfo; } /** * Called when an emitter instance is looping... * * @param Owner The emitter instance that owns this module */ virtual void EmitterLoopingNotify(FParticleEmitterInstance* Owner); } defaultproperties { bSpawnModule=true bSupportsRandomSeed=true bRequiresLoopingNotification=true } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |