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

UE3:UIComp_DrawComponents (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UDK Object >> Component >> UIComponent >> UIComp_DrawComponents

Contents

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

[edit] Properties

[edit] Property group 'Rendering'

[edit] FadeAlpha

Type: float

Modifiers: transient


[edit] FadeTarget

Type: float

Modifiers: transient


[edit] FadeTime

Type: float

Modifiers: transient


[edit] FadeType

Type: EFadeType

Modifiers: transient

Where the fade is going

[edit] Internal variables

[edit] FadeRate

Type: float

Modifiers: transient

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

[edit] LastRenderTime

Type: float

Modifiers: transient

Used to create a delta for fading

[edit] Enums

[edit] EFadeType

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

[edit] Delegates

[edit] OnFadeComplete

delegate OnFadeComplete (UIComp_DrawComponents Sender)

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

[edit] Native functions

[edit] Fade

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

How Much Longer until we reach the target Alpha

[edit] Pulse

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


[edit] ResetFade

function final native ResetFade ()


Personal tools