Mostly Harmless

UE3:ScriptedTexture (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 05:44, 17 January 2010 by Wormbo (Talk | contribs) (1 revision: class descriptions for UDK January update (part 4))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UDK Object >> Surface >> Texture >> TextureRenderTarget >> TextureRenderTarget2D >> ScriptedTexture
Package: 
Engine
This class in other games:
RTNP, U1, UT, U2XMP, U2, UE2Runtime, UT2003, UT2004, UT3

Copyright 1998-2009 Epic Games, Inc. All Rights Reserved

Properties[edit]

bNeedsUpdate[edit]

Type: bool

Modifiers: transient

whether the texture needs to be redrawn. Render() will be called at the end of the tick, just before all other rendering.

bSkipNextClear[edit]

Type: bool

Modifiers: transient

whether or not to clear the texture before the next call of the Render delegate

Default values[edit]

Property Value
bNeedsTwoCopies False

Delegates[edit]

Render[edit]

delegate Render (Canvas C)

Called whenever bNeedsUpdate is true to update the texture. The texture is cleared to ClearColor prior to calling this function (unless bSkipNextClear is set to true). bNeedsUpdate is reset before calling this function, so you can set it to true here to get another update next tick. bSkipNextClear is reset to false before calling this function, so set it to true here whenever you want the next clear to be skipped