Always snap to grid

UE3:CameraModifier (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT3 Object >> CameraModifier

Contents

Package: 
Engine
Direct subclass:
DemoCamMod_ScreenShake
This class in other games:
UDK

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

[edit] Properties

[edit] Property group 'Debug'

[edit] bDebug

Type: bool


[edit] Internal variables

[edit] bDisabled

Type: bool

Modifiers: protected


[edit] bPendingDisable

Type: bool


[edit] CameraOwner

Type: Camera

Camera this object is attached to

[edit] Instance functions

[edit] AddCameraModifier

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

[edit] DisableModifier

function DisableModifier ()

Accessor functions for changing disable flag

[edit] EnableModifier

function EnableModifier ()


[edit] Init

function Init ()

Allow anything to happen right after creation

[edit] IsDisabled

simulated function bool IsDisabled ()

Accessor function to check if modifier is inactive

[edit] ModifyCamera

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

[edit] ProcessViewRotation

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

[edit] RemoveCameraModifier

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

[edit] ToggleModifier

function ToggleModifier ()