Class CameraComponent
Represents a camera viewpoint and settings, such as projection type, field of view, and post-process overrides.
Inheritance
System.Object
CameraComponent
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: UE4DotNet.dll
Syntax
public class CameraComponent : SceneComponent
Properties
|
Improve this Doc
View Source
AspectRatio
Aspect Ratio (Width/Height)
Declaration
public float AspectRatio { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
bConstrainAspectRatio
Declaration
public bool bConstrainAspectRatio { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bLockToHmd
Declaration
public bool bLockToHmd { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bUseFieldOfViewForLOD
Declaration
public bool bUseFieldOfViewForLOD { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bUsePawnControlRotation
Declaration
public bool bUsePawnControlRotation { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CameraMesh
Declaration
public StaticMesh CameraMesh { get; set; }
Property Value
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static CameraComponent DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
FieldOfView
The horizontal field of view (in degrees) in perspective mode (ignored in Orthographic mode)
Declaration
public float FieldOfView { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
OrthoFarClipPlane
The far plane distance of the orthographic view (in world units)
Declaration
public float OrthoFarClipPlane { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
OrthoNearClipPlane
The near plane distance of the orthographic view (in world units)
Declaration
public float OrthoNearClipPlane { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
OrthoWidth
The desired width (in world units) of the orthographic view (ignored in Perspective mode)
Declaration
public float OrthoWidth { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
PostProcessBlendWeight
Indicates if PostProcessSettings should be used when using this Camera to view through.
Declaration
public float PostProcessBlendWeight { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
PostProcessSettings
Post process settings to use for this camera. Don't forget to check the properties you want to override
Declaration
public PostProcessSettings PostProcessSettings { get; set; }
Property Value
|
Improve this Doc
View Source
ProjectionMode
Declaration
public byte ProjectionMode { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddOrUpdateBlendable(Byte, Single)
Adds an Blendable (implements IBlendableInterface) to the array of Blendables (if it doesn't exist) and update the weight
Declaration
public void AddOrUpdateBlendable(byte InBlendableObject, float InWeight)
Parameters
Type |
Name |
Description |
System.Byte |
InBlendableObject |
|
System.Single |
InWeight |
|
|
Improve this Doc
View Source
GetCameraView(Single)
Returns camera's Point of View.
Declaration
public MinimalViewInfo GetCameraView(float DeltaTime)
Parameters
Type |
Name |
Description |
System.Single |
DeltaTime |
|
Returns
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static CameraComponent New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
RemoveBlendable(Byte)
Declaration
public void RemoveBlendable(byte InBlendableObject)
Parameters
Type |
Name |
Description |
System.Byte |
InBlendableObject |
|
|
Improve this Doc
View Source
SetAspectRatio(Single)
Declaration
public void SetAspectRatio(float InAspectRatio)
Parameters
Type |
Name |
Description |
System.Single |
InAspectRatio |
|
|
Improve this Doc
View Source
SetConstraintAspectRatio(Boolean)
Set Constraint Aspect Ratio
Declaration
public void SetConstraintAspectRatio(bool bInConstrainAspectRatio)
Parameters
Type |
Name |
Description |
System.Boolean |
bInConstrainAspectRatio |
|
|
Improve this Doc
View Source
SetFieldOfView(Single)
Declaration
public void SetFieldOfView(float InFieldOfView)
Parameters
Type |
Name |
Description |
System.Single |
InFieldOfView |
|
|
Improve this Doc
View Source
SetOrthoFarClipPlane(Single)
Declaration
public void SetOrthoFarClipPlane(float InOrthoFarClipPlane)
Parameters
Type |
Name |
Description |
System.Single |
InOrthoFarClipPlane |
|
|
Improve this Doc
View Source
SetOrthoNearClipPlane(Single)
Set Ortho Near Clip Plane
Declaration
public void SetOrthoNearClipPlane(float InOrthoNearClipPlane)
Parameters
Type |
Name |
Description |
System.Single |
InOrthoNearClipPlane |
|
|
Improve this Doc
View Source
SetOrthoWidth(Single)
Declaration
public void SetOrthoWidth(float InOrthoWidth)
Parameters
Type |
Name |
Description |
System.Single |
InOrthoWidth |
|
|
Improve this Doc
View Source
SetPostProcessBlendWeight(Single)
Set Post Process Blend Weight
Declaration
public void SetPostProcessBlendWeight(float InPostProcessBlendWeight)
Parameters
Type |
Name |
Description |
System.Single |
InPostProcessBlendWeight |
|
|
Improve this Doc
View Source
SetProjectionMode(Byte)
Declaration
public void SetProjectionMode(byte InProjectionMode)
Parameters
Type |
Name |
Description |
System.Byte |
InProjectionMode |
|
|
Improve this Doc
View Source
SetUseFieldOfViewForLOD(Boolean)
Set Use Field Of View for LOD
Declaration
public void SetUseFieldOfViewForLOD(bool bInUseFieldOfViewForLOD)
Parameters
Type |
Name |
Description |
System.Boolean |
bInUseFieldOfViewForLOD |
|
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to CameraComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator CameraComponent(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns