I love the smell of UnrealEd crashing in the morning. – tarquin

Difference between revisions of "UE3:EmitterCameraLensEffectBase (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
 
(Talk)
Line 36: Line 36:
  
 
Camera this emitter is attached to, will be notified when emitter is destroyed
 
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====
 
====PS_CameraEffect====

Revision as of 05:24, 17 January 2010

UDK Object >> Actor >> Emitter >> EmitterCameraLensEffectBase
Package: 
Engine

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

simulated native function UpdateLocation (const out Object.Vector CamLoc, const out Object.Rotator CamRot, float CamFOVDeg)

Given updated camera information, adjust this effect to display appropriately.

Events

Destroyed

event Destroyed ()

Overrides: Actor.Destroyed


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Emitter.PostBeginPlay


Other instance functions

ActivateLensEffect

simulated function ActivateLensEffect ()

This will actually activate the lens Effect. We want this separated from PostBeginPlay so we can cache these emitters *

NotifyRetriggered

function NotifyRetriggered ()

Called when this emitter is re-triggered, for bAllowMultipleInstances=FALSE emitters.

RegisterCamera

function RegisterCamera (Camera C)

Tell the emitter what camera it is attached to.