UE3:SceneCapture2DComponent (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 11:47, 6 November 2009 by Unknown user (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
UDK Object >> Component >> ActorComponent >> SceneCaptureComponent >> SceneCapture2DComponent
Package:
Engine
This class in other games:

SceneCapture2DComponent

Allows a scene capture to a 2D texture render target

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)


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