1
0
KF2-Dev-Scripts/Engine/Classes/ParticleModuleAttractorLine.uc
2020-12-13 18:01:13 +03:00

38 lines
1.1 KiB
Ucode

/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
class ParticleModuleAttractorLine extends ParticleModuleAttractorBase
native(Particle)
editinlinenew
hidecategories(Object);
/** The first endpoint of the line. */
var(Attractor) vector EndPoint0;
/** The second endpoint of the line. */
var(Attractor) vector EndPoint1;
/** The range of the line attractor. */
var(Attractor) rawdistributionfloat Range;
/** The strength of the line attractor. */
var(Attractor) rawdistributionfloat Strength;
cpptext
{
virtual void Update(FParticleEmitterInstance* Owner, INT Offset, FLOAT DeltaTime);
virtual void Render3DPreview(FParticleEmitterInstance* Owner, const FSceneView* View,FPrimitiveDrawInterface* PDI);
}
defaultproperties
{
bUpdateModule=true
Begin Object Class=DistributionFloatConstant Name=DistributionStrength
End Object
Strength=(Distribution=DistributionStrength)
Begin Object Class=DistributionFloatConstant Name=DistributionRange
End Object
Range=(Distribution=DistributionRange)
bSupported3DDrawMode=true
}