The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:ScriptedTexture (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT3 Object >> Surface >> Texture >> TextureRenderTarget >> TextureRenderTarget2D >> ScriptedTexture

Contents

Package: 
Engine
This class in other games:
RTNP, U1, U2, U2XMP, UDK, UE2Runtime, UT, UT2003, UT2004

null

[edit] Properties

[edit] bNeedsUpdate

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.

[edit] bSkipNextClear

Type: bool

Modifiers: transient

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

[edit] Default values

Property Value
bNeedsTwoCopies False

[edit] Delegates

[edit] Render

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