The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:EmitterCameraLensEffectBase (UDK)
Contents
- Package:
- Engine
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. |
Base class for Camera Lens Effects. Needed so we can have AnimNotifies be able to show camera effects in a nice drop down
Properties
Property group 'EmitterCameraLensEffectBase'
bAllowMultipleInstances
Type: bool
Modifiers: protectedwrite, const
TRUE if multiple instances of this emitter can exist simultaneously, FALSE otherwise.
DistFromCamera
Type: float
Modifiers: protected, const
How far in front of the camera this emitter should live, assuming an FOV of 80 degrees.
Note that the actual distance will be automatically adjusted to account for the actual FOV.
Default value: 90.0
Internal variables
BaseCamera
Type: Camera
Modifiers: protected, transient
Camera this emitter is attached to, will be notified when emitter is destroyed
BaseFOV
Type: float
In order to get the particle effect looking correct we need to have a base FOV which we just to move the particle closer/further from the camera *
Default value: 80.0
PS_CameraEffect
Type: ParticleSystem
Modifiers: protected
Particle System to use
PS_CameraEffectNonExtremeContent
Type: ParticleSystem
Modifiers: protected
The effect to use for non extreme content
Default values
Property | Value |
---|---|
bDestroyOnSystemFinish | True |
bNetInitialRotation | True |
bNoDelete | False |
Components[0] | ParticleSystemComponent'ParticleSystemComponent0' |
LifeSpan | 10.0 |
TickGroup | TG_PostAsyncWork |
Subobjects
ParticleSystemComponent0
Class: Engine.ParticleSystemComponent
Inherits from: Emitter.ParticleSystemComponent0
Property | Value |
---|---|
bOnlyOwnerSee | True |
ReplacementPrimitive | None |
SecondsBeforeInactive | 0.0 |
Functions
Native functions
UpdateLocation
Given updated camera information, adjust this effect to display appropriately.
Events
Destroyed
Overrides: Actor.Destroyed
PostBeginPlay
Overrides: Emitter.PostBeginPlay
Other instance functions
ActivateLensEffect
This will actually activate the lens Effect. We want this separated from PostBeginPlay so we can cache these emitters *
NotifyRetriggered
Called when this emitter is re-triggered, for bAllowMultipleInstances=FALSE emitters.
RegisterCamera
Tell the emitter what camera it is attached to.