Gah - a solution with more questions. – EntropicLqd
UE2:LineManager (U2XMP)
Object >> Actor >> ParticleGenerator >> LineManager |
- Package:
- ParticleSystems
- Known classes within LineManager:
- LineManagerTemplate
- This class in other games:
- U2
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
$Author: Aleiby $ $Date: 2/25/02 8:19p $ $Revision: 2 $ Name: LineManager.uc Author: Aaron R Leiby Date: 22 August 2000 Description: How to use this class:
class'Singleton'.static.GetInstance( Level, class'LineManager', Name ).AddLinePS( ... ); -- Name is optional. Use it if you want a unique set of lines for your own use. Any name will do.
USingleton::StaticGetInstance( GetLevel(), "ParticleSystems.LineManager", Name )->AddLinePS( ... );
struct LMParms { FVector Start FVector End FVvector Color UBOOL bDirected FLOAT ArrowOffset FLOAT ArrowWidth FLOAT ArrowHeight FVector ArrowColor };
LMParms Parms; Parms.Start = ...; // Fill in all parameters. UObject* LM=USingleton::StaticGetInstance( GetLevel(), "ParticleSystems.LineManager", Name ); LM->UObject::ProcessEvent( LM->FindFunction( FName(TEXT("AddLinePS"),FNAME_Intrinsic)), Parms );
UBOOL GIsScriptableSaved=1; Exchange(GIsScriptable,GIsScriptableSaved); LMParms Parms; Parms.Start = ...; // Fill in all parameters. UObject* LM=USingleton::StaticGetInstance( GetLevel(), "ParticleSystems.LineManager", Name ); LM->UObject::ProcessEvent( LM->FindFunction( FName(TEXT("AddLinePS"),FNAME_Intrinsic)), Parms ); Exchange(GIsScriptable,GIsScriptableSaved);
-- This will clear all existing lines for this instance.
Set bClip to false if you want lines to show through geometry -- this may not currently work in all renderers.
Default values[edit]
Property | Value |
---|---|
bMustFace | False |
VisibilityHeight | 0.0 |
VisibilityRadius | 0.0 |