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

UE3:SceneCapture2DComponent (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Component >> ActorComponent >> SceneCaptureComponent >> SceneCapture2DComponent
Package: 
Engine
This class in other games:
UT3

SceneCapture2DComponent

Allows a scene capture to a 2D texture render target

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

Properties[edit]

Property group 'Capture'[edit]

FarPlane[edit]

Type: float

Modifiers: const

far plane clip distance: <= 0 means no far plane

Default value: 500.0

FieldOfView[edit]

Type: float

Modifiers: const

horizontal field of view

Default value: 80.0

NearPlane[edit]

Type: float

Modifiers: const

near plane clip distance

Default value: 20.0

TextureTarget[edit]

Type: TextureRenderTarget2D

Modifiers: const

render target resource to set as target for capture

Internal variables[edit]

bUpdateMatrices[edit]

Type: bool

set to false to disable automatic updates of the view/proj matrices

Default value: True

ProjMatrix[edit]

Type: Object.Matrix

Modifiers: const, transient

projection matrix used for rendering

ViewMatrix[edit]

Type: Object.Matrix

Modifiers: const, transient

view matrix used for rendering

Native functions[edit]

SetCaptureParameters[edit]

native noexport final function SetCaptureParameters (optional TextureRenderTarget2D NewTextureTarget, optional float NewFOV, optional float NewNearPlane, optional float NewFarPlane)

interface for changing TextureTarget, FOV, and clip planes

SetView[edit]

native final function SetView (Object.Vector NewLocation, Object.Rotator NewRotation)

changes the view location and rotation

Note: unless bUpdateMatrices is false, this will get overwritten as soon as the component or its owner moves