Class CameraModifier
A CameraModifier is a base class for objects that may adjust the final camera properties after being computed by the APlayerCameraManager (@
Inherited Members
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class CameraModifier : UObject
Remarks
see ModifyCamera). A CameraModifier can be stateful, and is associated uniquely with a specific APlayerCameraManager.
Properties
| Improve this Doc View SourceAlpha
Current blend alpha.
Declaration
public float Alpha { get; }
Property Value
Type | Description |
---|---|
System.Single |
AlphaInTime
When blending in, alpha proceeds from 0 to 1 over this time
Declaration
public float AlphaInTime { get; }
Property Value
Type | Description |
---|---|
System.Single |
AlphaOutTime
When blending out, alpha proceeds from 1 to 0 over this time
Declaration
public float AlphaOutTime { get; }
Property Value
Type | Description |
---|---|
System.Single |
bDebug
Declaration
public bool bDebug { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
bExclusive
Declaration
public bool bExclusive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
CameraOwner
Camera this object is associated with.
Declaration
public PlayerCameraManager CameraOwner { get; }
Property Value
Type | Description |
---|---|
PlayerCameraManager |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static CameraModifier DefaultObject { get; }
Property Value
Type | Description |
---|---|
CameraModifier |
Priority
Priority value that determines the order in which modifiers are applied. 0 = highest priority, 255 = lowest.
Declaration
public byte Priority { get; }
Property Value
Type | Description |
---|---|
System.Byte |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceDisableModifier(Boolean)
Disables this modifier.
Declaration
public void DisableModifier(bool bImmediate)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | bImmediate |
Remarks
@param bImmediate - true to disable with no blend out, false (default) to allow blend out
EnableModifier()
Enables this modifier.
Declaration
public void EnableModifier()
GetViewTarget()
@return Returns the actor the camera is currently viewing.
Declaration
public Actor GetViewTarget()
Returns
Type | Description |
---|---|
Actor |
IsDisabled()
@return Returns true if modifier is disabled, false otherwise.
Declaration
public bool IsDisabled()
Returns
Type | Description |
---|---|
System.Boolean |
New(UObject, Name)
Spawn an object of this class
Declaration
public static CameraModifier New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
CameraModifier |
Events
| Improve this Doc View SourceBlueprintModifyCamera
Called per tick that the modifier is active to allow Blueprinted modifiers to modify the camera's transform.
Declaration
public event CameraModifier.BlueprintModifyCamera_delegate BlueprintModifyCamera
Event Type
Type | Description |
---|---|
CameraModifier.BlueprintModifyCamera_delegate |
Remarks
Scaling by Alpha happens after this in code, so no need to deal with that in the blueprint. @param DeltaTime Change in time since last update @param ViewLocation The current camera location. @param ViewRotation The current camera rotation. @param FOV The current camera fov. @param NewViewLocation (out) The modified camera location. @param NewViewRotation (out) The modified camera rotation. @param NewFOV (out) The modified camera FOV.
BlueprintModifyPostProcess
Called per tick that the modifier is active to allow Blueprinted modifiers to modify the camera's postprocess effects.
Declaration
public event CameraModifier.BlueprintModifyPostProcess_delegate BlueprintModifyPostProcess
Event Type
Type | Description |
---|---|
CameraModifier.BlueprintModifyPostProcess_delegate |
Remarks
Scaling by Alpha happens after this in code, so no need to deal with that in the blueprint. @param DeltaTime Change in time since last update @param PostProcessBlendWeight (out) Blend weight applied to the entire postprocess structure. @param PostProcessSettings (out) Post process structure defining what settings and values to override.
Operators
| Improve this Doc View SourceImplicit(IntPtr to CameraModifier)
Convert from IntPtr to UObject
Declaration
public static implicit operator CameraModifier(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
CameraModifier |