I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE3:UIComp_DrawComponents (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Component >> UIComponent >> UIComp_DrawComponents
Package: 
Engine
Within class: 
UIObject
Direct subclasses:
UIComp_DrawImage, UIComp_DrawString
This class in other games:
UDK

Copyright 2004-2005 Epic Games, Inc. All Rights Reserved.

Added support for pulsing and fading the drawing components. It adds an UpdateFade() function that

will return the current fade value giving the deltatime. The child is responsible for called SetOpacity()

passing in whatever value is included. This is possibly a temporary solution

Properties

Property group 'Fading'

FadeAlpha

Type: float

Modifiers: transient


FadeTarget

Type: float

Modifiers: transient


FadeTime

Type: float

Modifiers: transient


FadeType

Type: EFadeType

Modifiers: transient

Where the fade is going

Internal variables

FadeRate

Type: float

Modifiers: transient

Used for pulsing. This is the rate at which it will occur

LastRenderTime

Type: float

Modifiers: transient

Used to create a delta for fading

Enums

EFadeType

EFT_None 
No fading, Opacity will
EFT_Fading 
Fading to a specific Alpha
EFT_Pulsing 
Pulsing between Alpha 0.0 and FadeTarget

Delegates

OnFadeComplete

delegate OnFadeComplete (UIComp_DrawComponents Sender)

OnFadeComplete will be called as soon as the fade has been completed

Native functions

Fade

function final native Fade (float FromAlpha, float ToAlpha, float TargetFadeTime)

How Much Longer until we reach the target Alpha

Pulse

function final native Pulse (optional float MaxAlpha, optional float MinAlpha, optional float PulseRate)


ResetFade

function final native ResetFade ()