I'm a doctor, not a mechanic
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[edit]
Property group 'Debug'[edit]
bDebug[edit]
Type: bool
Internal variables[edit]
Alpha[edit]
Type: float
Modifiers: protected, transient
Current blend alpha
AlphaInTime[edit]
Type: float
Modifiers: protected
When blending in, alpha proceeds from 0 to 1 over this time
AlphaOutTime[edit]
Type: float
Modifiers: protected
When blending out, alpha proceeds from 1 to 0 over this time
bDisabled[edit]
Type: bool
Modifiers: protected
bExclusive[edit]
Type: bool
Modifiers: protected
This modifier can only be used exclusively - no modifiers of same priority allowed
bPendingDisable[edit]
Type: bool
CameraOwner[edit]
Type: Camera
Camera this object is attached to
Priority[edit]
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[edit]
Type: float
Modifiers: protected, transient
Desired alpha we are interpolating towards.
Functions[edit]
Native functions[edit]
IsDisabled[edit]
Accessor function to check if modifier is inactive
ModifyCamera[edit]
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[edit]
Responsible for updating alpha blend value.
Parameters:
- Camera - Camera that is being updated
- DeltaTime - Amount of time since last update
Events[edit]
DisableModifier[edit]
Accessor functions for changing disable flag
Parameters:
- bImmediate - TRUE to disable with no blend out, FALSE (default) to allow blend out
Other instance functions[edit]
AddCameraModifier[edit]
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[edit]
Init[edit]
Allow anything to happen right after creation
ProcessViewRotation[edit]
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]
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