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 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 00086 00087 00088 00089 00090 00091 00092 00093 00094 00095 00096 |
/** * ParticleModuleBeamSource * * This module implements a single source for a beam emitter. * * Copyright 1998-2011 Epic Games, Inc. All Rights Reserved. */ class ParticleModuleBeamSource extends ParticleModuleBeamBase native(Particle) editinlinenew hidecategories(Object); /** The method flag. */ var(Source) Beam2SourceTargetMethod SourceMethod; /** The strength of the tangent from the source point for each beam. */ var(Source) name SourceName; /** Whether to treat the as an absolute position in world space. */ var(Source) bool bSourceAbsolute; /** Default source-point to use. */ var(Source) rawdistributionvector Source; /** Whether to lock the source to the life of the particle. */ var(Source) bool bLockSource; /** The method to use for the source tangent. */ var(Source) Beam2SourceTargetTangentMethod SourceTangentMethod; /** The tangent for the source point for each beam. */ var(Source) rawdistributionvector SourceTangent; /** Whether to lock the source to the life of the particle. */ var(Source) bool bLockSourceTangent; /** The strength of the tangent from the source point for each beam. */ var(Source) rawdistributionfloat SourceStrength; /** Whether to lock the source to the life of the particle. */ var(Source) bool bLockSourceStength; cpptext { virtual void Spawn(FParticleEmitterInstance* Owner, INT Offset, FLOAT SpawnTime); virtual void Update(FParticleEmitterInstance* Owner, INT Offset, FLOAT DeltaTime); virtual UINT RequiredBytes(FParticleEmitterInstance* Owner = NULL); virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent); virtual void AutoPopulateInstanceProperties(UParticleSystemComponent* PSysComp); void GetDataPointers(FParticleEmitterInstance* Owner, const BYTE* ParticleBase, INT& CurrentOffset, FBeamParticleSourceTargetPayloadData*& ParticleSource, FBeamParticleSourceBranchPayloadData*& BranchSource); void GetDataPointerOffsets(FParticleEmitterInstance* Owner, const BYTE* ParticleBase, INT& CurrentOffset, INT& ParticleSourceOffset, INT& BranchSourceOffset); UBOOL ResolveSourceData(FParticleBeam2EmitterInstance* BeamInst, FBeam2TypeDataPayload* BeamData, const BYTE* ParticleBase, INT& CurrentOffset, INT ParticleIndex, UBOOL bSpawning, FBeamParticleModifierPayloadData* ModifierData); /** * Retrieve the ParticleSysParams associated with this module. * * @param ParticleSysParamList The list of FParticleSysParams to add to */ virtual void GetParticleSysParamsUtilized(TArray<FString>& ParticleSysParamList); } defaultproperties { SourceMethod=PEB2STM_Default SourceName="None" bSourceAbsolute=false Begin Object Class=DistributionVectorConstant Name=DistributionSource Constant=(X=50,Y=50,Z=50) End Object Source=(Distribution=DistributionSource) SourceTangentMethod=PEB2STTM_Direct Begin Object Class=DistributionVectorConstant Name=DistributionSourceTangent Constant=(X=1,Y=0,Z=0) End Object SourceTangent=(Distribution=DistributionSourceTangent) Begin Object Class=DistributionFloatConstant Name=DistributionSourceStrength Constant=25.0 End Object SourceStrength=(Distribution=DistributionSourceStrength) } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |