| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||
SceneCapture2DComponent Allows a scene capture to a 2D texture render target Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
Core.Object
|
+-- Core.Component
|
+-- Engine.ActorComponent
|
+-- Engine.SceneCaptureComponent
|
+-- Engine.SceneCapture2DComponent
| Variables Summary | |
|---|---|
| bool | bUpdateMatrices |
| matrix | ProjMatrix |
| matrix | ViewMatrix |
| Capture | |
| float | FarPlane |
| float | FieldOfView |
| float | NearPlane |
| TextureRenderTarget2D | TextureTarget |
| Inherited Variables from Engine.SceneCaptureComponent |
|---|
| bEnableFog, bEnablePostProcess, bNeedsSceneUpdate, bSkipUpdateIfOwnerOccluded, CaptureInfo, ClearColor, FrameRate, MaxStreamingUpdateDist, MaxUpdateDist, PostProcess, SceneLOD, ViewMode, ViewState |
| Inherited Variables from Engine.ActorComponent |
|---|
| bAttached, bNeedsReattach, bNeedsUpdateTransform, bTickInEditor, Owner, Scene, TickGroup |
| Enumerations Summary |
|---|
| Inherited Enumerations from Engine.SceneCaptureComponent |
|---|
| ESceneCaptureViewMode |
| Functions Summary | ||
|---|---|---|
![]() | SetCaptureParameters (optional TextureRenderTarget2D NewTextureTarget = TextureTarget, optional float NewFOV = FieldOfView, optional float NewNearPlane = NearPlane, optional float NewFarPlane = FarPlane) | |
![]() | SetView (vector NewLocation, rotator NewRotation) | |
| Inherited Functions from Engine.SceneCaptureComponent |
|---|
| SetFrameRate |
| Inherited Functions from Engine.ActorComponent |
|---|
| ForceUpdate, SetComponentRBFixed, SetTickGroup |
| Variables Detail |
|---|
set to false to disable automatic updates of the view/proj matrices
projection matrix used for rendering
view matrix used for rendering
far plane clip distance: <= 0 means no far plane
horizontal field of view
near plane clip distance
render target resource to set as target for capture
| Functions Detail |
|---|
SetCaptureParameters Source codeinterface for changing TextureTarget, FOV, and clip planes
SetView Source codechanges the view location and rotation @note: unless bUpdateMatrices is false, this will get overwritten as soon as the component or its owner moves
| Defaultproperties |
|---|
defaultproperties
{
FieldOfView=80.000000
NearPlane=20.000000
FarPlane=500.000000
bUpdateMatrices=True
Name="Default__SceneCapture2DComponent"
ObjectArchetype=SceneCaptureComponent'Engine.Default__SceneCaptureComponent'
}
|
| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||