I'm a doctor, not a mechanic

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

Property group 'Capture'

FarPlane

Type: float

Modifiers: const

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

Default value: 500.0

FieldOfView

Type: float

Modifiers: const

horizontal field of view

Default value: 80.0

NearPlane

Type: float

Modifiers: const

near plane clip distance

Default value: 20.0

TextureTarget

Type: TextureRenderTarget2D

Modifiers: const

render target resource to set as target for capture

Internal variables

bUpdateMatrices

Type: bool

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

Default value: True

ProjMatrix

Type: Object.Matrix

Modifiers: const, transient

projection matrix used for rendering

ViewMatrix

Type: Object.Matrix

Modifiers: const, transient

view matrix used for rendering

Native functions

SetCaptureParameters

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

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