I love the smell of UnrealEd crashing in the morning. – tarquin

UE3:CameraModifier (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> CameraModifier
Package: 
Engine
Direct subclass:
DemoCamMod_ScreenShake
This class in other games:
UDK

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

Properties[edit]

Property group 'Debug'[edit]

bDebug[edit]

Type: bool


Internal variables[edit]

bDisabled[edit]

Type: bool

Modifiers: protected


bPendingDisable[edit]

Type: bool


CameraOwner[edit]

Type: Camera

Camera this object is attached to

Instance functions[edit]

AddCameraModifier[edit]

function bool AddCameraModifier (Camera Camera)

Camera modifier evaluates itself vs the given camera's modifier list and decides whether to add itself or not

Parma: Camera - reference to camera actor we want add this modifier to

Output: bool - TRUE if modifier added to camera's modifier list, FALSE otherwise

DisableModifier[edit]

function DisableModifier ()

Accessor functions for changing disable flag

EnableModifier[edit]

function EnableModifier ()


Init[edit]

function Init ()

Allow anything to happen right after creation

IsDisabled[edit]

simulated function bool IsDisabled ()

Accessor function to check if modifier is inactive

ModifyCamera[edit]

function bool ModifyCamera (Camera Camera, float DeltaTime, out Object.TPOV OutPOV)

Directly modifies variables in the camera actor

Parameters:

  • Camera - reference to camera actor we are modifiying
  • DeltaTime - Change in time since last update
  • OutPOV - current Point of View, to be updated.

Returns:

bool TRUE if should STOP looping the chain, FALSE otherwise

ProcessViewRotation[edit]

simulated function bool ProcessViewRotation (Actor ViewTarget, float DeltaTime, out Object.Rotator out_ViewRotation, out Object.Rotator out_DeltaRot)

Allow this modifier a chance to change view rotation and deltarot Default just returns ViewRotation unchanged

Returns:

bool - TRUE if should stop looping modifiers to adjust rotation, FALSE otherwise

RemoveCameraModifier[edit]

function bool RemoveCameraModifier (Camera Camera)

Camera modifier removes itself from given camera's modifier list

Parameters:

  • Camera - reference to camara actor we want to remove this modifier from

Output: bool - TRUE if modifier removed successfully, FALSE otherwise

ToggleModifier[edit]

function ToggleModifier ()