Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE3:TextureRenderTarget2D (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Surface >> Texture >> TextureRenderTarget >> TextureRenderTarget2D
Package: 
Engine
Direct subclass:
ScriptedTexture
This class in other games:
UDK

TextureRenderTarget2D

2D render target texture resource. This can be used as a target for rendering as well as rendered as a regular 2D texture resource.

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

Properties

Property group 'TextureRenderTarget2D'

AddressX

Type: Texture.TextureAddress

The addressing mode to use for the X axis.

AddressY

Type: Texture.TextureAddress

The addressing mode to use for the Y axis.

SizeX

Type: int

Modifiers: const

The width of the texture.

SizeY

Type: int

Modifiers: const

The height of the texture.

Internal variables

ClearColor

Type: Object.LinearColor

Modifiers: const

the color the texture is cleared to

Default value:

Member Value
A 1.0
B 0.0
G 1.0
R 0.0

Format

Type: Texture.EPixelFormat

Modifiers: const

The format of the texture data.

Default value: PF_A8R8G8B8

Static native functions

Create

static native noexport final function TextureRenderTarget2D Create (int InSizeX, int InSizeY, optional Texture.EPixelFormat InFormat, optional Object.LinearColor InClearColor, optional bool bOnlyRenderOnce)

creates and initializes a new TextureRenderTarget2D with the requested settings