Navigation
API > API/Runtime > API/Runtime/CinematicCamera
Inheritance Hierarchy
- UCameraComponent
- UCineCameraComponent
- UDisplayClusterICVFXCameraComponent
References
Module | CinematicCamera |
Header | /Engine/Source/Runtime/CinematicCamera/Public/CineCameraComponent.h |
Include | #include "CineCameraComponent.h" |
Syntax
UCLASS (HideCategories=(CameraSettings), HideFunctions=(SetFieldOfView, SetAspectRatio),
Blueprintable, ClassGroup=Camera, Meta=(BlueprintSpawnableComponent), Config=Engine,
MinimalAPI)
class UCineCameraComponent : public UCameraComponent
Remarks
A specialized version of a camera component, geared toward cinematic usage.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
uint32: 1 | bOverride_CustomNearClippingPlane | |
![]() |
uint8: 1 | bResetInterpolation | Set to true to skip any interpolations on the next update. Resets to false automatically. |
![]() ![]() ![]() ![]() ![]() |
FPlateCropSettings | CropSettings | Controls the crop settings. |
![]() ![]() ![]() ![]() ![]() |
float | CurrentAperture | Current aperture, in terms of f-stop (e.g. 2.8 for f/2.8) |
![]() ![]() ![]() ![]() ![]() |
float | CurrentFocalLength | Current focal length of the camera (i.e. controls FoV, zoom) |
![]() ![]() ![]() ![]() ![]() |
float | CurrentFocusDistance | Read-only. Control this value via FocusSettings. |
![]() ![]() ![]() ![]() |
float | CurrentHorizontalFOV | Read-only. Control this value with CurrentFocalLength (and filmback settings). |
![]() ![]() ![]() ![]() ![]() |
float | CustomNearClippingPlane | Set bOverride_CustomNearClippingPlane to true if you want to use a custom clipping plane instead of GNearClippingPlane. |
![]() ![]() ![]() |
TObjectPtr< UStaticMeshComponent > | DebugFocusPlaneComponent | Component for the debug focus plane visualization |
![]() ![]() ![]() |
TObjectPtr< UMaterialInstanceDynamic > | DebugFocusPlaneMID | Dynamic material instance for the debug focus plane visualization |
![]() ![]() ![]() |
FString | DefaultFilmbackPreset | Name of the default filmback preset |
![]() ![]() ![]() |
float | DefaultLensFocalLength | Default focal length (will be constrained by default lens) |
![]() ![]() ![]() |
float | DefaultLensFStop | Default aperture (will be constrained by default lens) |
![]() ![]() ![]() |
FString | DefaultLensPresetName | Name of the default lens preset |
![]() ![]() ![]() ![]() ![]() |
FCameraFilmbackSettings | Filmback | Controls the filmback of the camera. |
![]() ![]() ![]() |
TArray< FNamedFilmbackPreset > | FilmbackPresets | List of available filmback presets |
![]() ![]() ![]() |
TObjectPtr< UMaterial > | FocusPlaneVisualizationMaterial | Material used for debug focus plane visualization |
![]() ![]() ![]() |
TObjectPtr< UStaticMesh > | FocusPlaneVisualizationMesh | Mesh used for debug focus plane visualization |
![]() ![]() ![]() ![]() ![]() |
FCameraFocusSettings | FocusSettings | Controls the camera's focus. |
![]() |
float | LastFocusDistance | Most recent calculated focus distance. Used for interpolation. |
![]() ![]() ![]() |
TArray< FNamedLensPreset > | LensPresets | List of available lens presets |
![]() ![]() ![]() ![]() ![]() |
FCameraLensSettings | LensSettings | Controls the camera's lens. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Default constuctor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | GetCameraView
(
float DeltaTime, |
|
![]() ![]() ![]() ![]() |
FString | Returns the lens name of the camera with the current settings. | |
![]() ![]() ![]() ![]() |
FString | Returns the name of the default filmback preset. | |
![]() ![]() ![]() ![]() |
FString | Returns the filmback name of the camera with the current settings. | |
![]() ![]() |
TArray< FNamedFilmbackPreset > const & | Returns a list of available filmback presets. | |
![]() ![]() ![]() ![]() |
TArray< FNamedFilmbackPreset > | Returns a copy of the list of available filmback presets. | |
![]() ![]() ![]() |
FText | ||
![]() ![]() ![]() ![]() |
float | Returns the horizonal FOV of the camera with current settings. | |
![]() ![]() ![]() ![]() |
float | ||
![]() ![]() ![]() ![]() |
FString | Returns the lens name of the camera with the current settings. | |
![]() ![]() |
TArray< FNamedLensPreset > const & | Returns a list of available lens presets. | |
![]() ![]() ![]() ![]() |
TArray< FNamedLensPreset > | Returns a copy of the list of available lens presets. | |
![]() ![]() ![]() ![]() |
float | Returns the vertical FOV of the camera with current settings. | |
![]() ![]() ![]() ![]() |
float | ||
![]() ![]() |
float | Returns the world to meters scale for the current UWorld | |
![]() ![]() |
void | ||
![]() ![]() |
void | OnComponentDestroyed
(
bool bDestroyingHierarchy |
|
![]() ![]() |
void | OnRegister () |
|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
|
![]() ![]() |
void | ||
![]() |
void | ||
![]() ![]() |
void | ||
![]() ![]() |
void | Serialize
(
FArchive& Ar |
|
![]() ![]() ![]() |
void | SetCropPresetByName
(
const FString& InPresetName |
Set the current lens settings by preset name. |
![]() ![]() ![]() |
void | SetCropSettings
(
const FPlateCropSettings& NewCropSettings |
|
![]() ![]() ![]() |
void | SetCurrentAperture
(
const float NewCurrentAperture |
|
![]() ![]() ![]() ![]() |
void | SetCurrentFocalLength
(
float InFocalLength |
|
![]() ![]() ![]() ![]() |
void | SetCustomNearClippingPlane
(
const float NewCustomNearClippingPlane |
Sets near clipping plane of the cine camera. |
![]() ![]() |
void | SetFieldOfView
(
float InFieldOfView |
Override setting FOV to manipulate Focal Length. |
![]() ![]() ![]() |
void | SetFilmback
(
const FCameraFilmbackSettings& NewFilmback |
|
![]() ![]() ![]() |
void | SetFilmbackPresetByName
(
const FString& InPresetName |
Set the current preset settings by preset name. |
![]() ![]() ![]() |
void | SetFocusSettings
(
const FCameraFocusSettings& NewFocusSettings |
|
![]() ![]() ![]() |
void | SetLensPresetByName
(
const FString& InPresetName |
Set the current lens settings by preset name. |
![]() ![]() ![]() |
void | SetLensSettings
(
const FCameraLensSettings& NewLensSettings |
|
![]() ![]() |
void | TickComponent
(
float DeltaTime, |
|
![]() ![]() |
void | UpdateCameraLens
(
float DeltaTime, |
|
![]() |
void | Update the debug focus plane position and orientation. |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FString | DefaultFilmbackPresetName_DEPRECATED | Deprecated. See DefaultFilmbackPreset |
![]() ![]() |
FCameraFilmbackSettings | FilmbackSettings_DEPRECATED |