1
0
KF2-Dev-Scripts/Engine/Classes/ParticleModuleVelocityInheritParent.uc

29 lines
739 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
class ParticleModuleVelocityInheritParent extends ParticleModuleVelocityBase
native(Particle)
editinlinenew
hidecategories(Object);
/**
* The scale to apply tot he parent velocity prior to adding it to the particle velocity during spawn.
* Value is retrieved using the EmitterTime of the emitter.
*/
var(Velocity) rawdistributionvector Scale;
cpptext
{
virtual void Spawn(FParticleEmitterInstance* Owner, INT Offset, FLOAT SpawnTime);
}
defaultproperties
{
bSpawnModule=true
Begin Object Class=DistributionVectorConstant Name=DistributionScale
Constant=(X=1.0,Y=1.0,Z=1.0)
End Object
Scale=(Distribution=DistributionScale)
}