My program doesn't have bugs. It just develops random features.

UE3:UIComp_DrawComponents (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 06:24, 17 January 2010 by (Talk)

Jump to: navigation, search
UDK Object >> Component >> UIComponent >> UIComp_DrawComponents
Package: 
Engine
Within class: 
UIObject
Direct subclasses:
UIComp_DrawImage, UIComp_DrawString
This class in other games:
UT3
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 'Rendering'

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 ()