UE2:Fader (U2XMP)
![]() |
Object >> Actor >> LegendActorComponent >> Fader |
- Package:
- Legend
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. |
Fader.uc $Author: Mfox $ $Date: 4/30/02 12:22p $ $Revision: 2 $
Description: Makes the given Actor translucent and adjusts its ScaleGlow from InitialScaleGlow to FinalScaleGlow in FadeTime seconds. Once the ScaleGlow reaches FinalScaleGlow the Actor is destroyed. Note that in multiplayer games fading is not performed for now (for performance reasons), instead, after the DelayTime, the object is destroyed after FadeTime additional seconds.
How to use this class:
+ Call class'Util'.static.Fade( Actor, Time ); instead of Destroy();
Properties
Property group 'Fader'
bDeleteActor
Type: bool
Should we delete the actor when we are finished?
Default value: True
DelayTime
Type: float
Time to wait before starting to fade.
FadeTime
Type: float
How long it takes us to fade the given object out.
Default value: 0.5
FinalScaleGlow
Type: float
ScaleGlow the object ends with. (Must be less than InitialScaleGlow.)
InitialScaleGlow
Type: float
ScaleGlow the object start out with.
NumFlickers
Type: int
Internal variables
bInitialized
Type: bool
Have we finished with the delay?
FadeActor
Type: Actor
The Actor we are fading away.
FadeRate
Type: float
How fast the object will fade out. Calculated when Fade is called.
Default values
Property | Value |
---|---|
RemoteRole | ROLE_SimulatedProxy |
Functions
Events
Tick
Overrides: Actor.Tick
Other instance functions
Fade