The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:CameraModifier (UDK)
Object >> CameraModifier |
Contents
- Package:
- Engine
- Direct subclass:
- CameraModifier_CameraShake
- This class in other games:
- UT3
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Properties
Property group 'Debug'
bDebug
Type: bool
Internal variables
Alpha
Type: float
Modifiers: protected, transient
Current blend alpha
AlphaInTime
Type: float
Modifiers: protected
When blending in, alpha proceeds from 0 to 1 over this time
AlphaOutTime
Type: float
Modifiers: protected
When blending out, alpha proceeds from 1 to 0 over this time
bDisabled
Type: bool
Modifiers: protected
bExclusive
Type: bool
Modifiers: protected
This modifier can only be used exclusively - no modifiers of same priority allowed
bPendingDisable
Type: bool
CameraOwner
Type: Camera
Camera this object is attached to
Priority
Type: byte
Modifiers: protected
Priority of this modifier - determines where it is added in the modifier list. 0 = highest priority, 255 = lowest
Default value: 127
TargetAlpha
Type: float
Modifiers: protected, transient
Desired alpha we are interpolating towards.
Functions
Native functions
IsDisabled
Accessor function to check if modifier is inactive
ModifyCamera
Directly modifies variables in the camera actor
Parameters:
- Camera - reference to camera actor we are modifying
- 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
UpdateAlpha
Responsible for updating alpha blend value.
Parameters:
- Camera - Camera that is being updated
- DeltaTime - Amount of time since last update
Events
DisableModifier
Accessor functions for changing disable flag
Parameters:
- bImmediate - TRUE to disable with no blend out, FALSE (default) to allow blend out
Other instance functions
AddCameraModifier
Camera modifier evaluates itself vs the given camera's modifier list and decides whether to add itself or not. Handles adding by priority and avoiding adding the same modifier twice.
Parameters:
- Camera - reference to camera actor we want add this modifier to
Returns:
- bool - TRUE if modifier added to camera's modifier list, FALSE otherwise
EnableModifier
Init
Allow anything to happen right after creation
ProcessViewRotation
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
Camera modifier removes itself from given camera's modifier list
Parameters:
- Camera - reference to camara actor we want to remove this modifier from
Returns:
- bool - TRUE if modifier removed successfully, FALSE otherwise