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
Revision as of 07:40, 23 May 2008 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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[edit]

Property group 'TextureRenderTarget2D'[edit]

AddressX[edit]

Type: Texture.TextureAddress

The addressing mode to use for the X axis.

AddressY[edit]

Type: Texture.TextureAddress

The addressing mode to use for the Y axis.

SizeX[edit]

Type: int

Modifiers: const

The width of the texture.

SizeY[edit]

Type: int

Modifiers: const

The height of the texture.

Internal variables[edit]

ClearColor[edit]

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[edit]

Type: Texture.EPixelFormat

Modifiers: const

The format of the texture data.

Default value: PF_A8R8G8B8

Static native functions[edit]

Create[edit]

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