Navigation
API > API/Plugins > API/Plugins/GameplayCameras > API/Plugins/GameplayCameras/Core
References
| Module | GameplayCameras |
| Header | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Core/CameraPose.h |
| Include | #include "Core/CameraPose.h" |
Syntax
USTRUCT ()
struct FCameraPose
Remarks
Structure describing the state of a camera.
Fields are private and can only be accessed via the getters and setters. The ChangedFlags structure keeps track of which fields were changed via the setters.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCameraPose () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Set all fields as clean. | ||
| FRay3d | GetAimRay () |
Gets the aiming ray of the camera. | |
| float | GetAperture () |
||
| float | |||
| bool | |||
| const FCameraPoseFlags & | Get the changed flags. | ||
| FCameraPoseFlags & | Get the changed flags. | ||
| float | Computes the field of view of the camera. | ||
| float | |||
| float | |||
| float | |||
| float | |||
| FVector | GetLocation () |
||
| float | |||
| FRotator3d | GetRotation () |
||
| float | |||
| float | |||
| float | |||
| double | |||
| FTransform3d | GetTransform () |
Gets the transform of the camera. | |
| void | LerpChanged
(
const FCameraPose& ToPose, |
Interpolates changed properties from ToPose using the given factor. | |
| void | LerpChanged
(
const FCameraPose& ToPose, |
Interpolates all changed properties from ToPose using the given factor. | |
| void | OverrideChanged
(
const FCameraPose& OtherPose |
Takes all changed properties from OtherPose and sets them on this camera pose. | |
| void | Reset
(
bool bSetAllChangedFlags |
Resets this camera pose to its default values. | |
| void | Set all fields as changed. | ||
| void | SetAperture
(
TCallTraits< float >::ParamType InValue |
||
| void | SetAspectRatio
(
TCallTraits< float >::ParamType InValue |
||
| void | SetbConstrainAspectRatio
(
TCallTraits< bool >::ParamType InValue |
||
| void | SetChangedFlags
(
const FCameraPoseFlags& InChangedFlags |
Set the changed flags. | |
| void | SetFarClippingPlane
(
TCallTraits< float >::ParamType InValue |
||
| void | SetFieldOfView
(
TCallTraits< float >::ParamType InValue |
||
| void | SetFocalLength
(
TCallTraits< float >::ParamType InValue |
||
| void | SetFocusDistance
(
TCallTraits< float >::ParamType InValue |
||
| void | SetLocation
(
TCallTraits< FVector >::ParamType InValue |
||
| void | SetNearClippingPlane
(
TCallTraits< float >::ParamType InValue |
||
| void | SetRotation
(
TCallTraits< FRotator3d >::ParamType InValue |
||
| void | SetSensorHeight
(
TCallTraits< float >::ParamType InValue |
||
| void | SetSensorWidth
(
TCallTraits< float >::ParamType InValue |
||
| void | SetSqueezeFactor
(
TCallTraits< float >::ParamType InValue |
||
| void | SetTargetDistance
(
TCallTraits< double >::ParamType InValue |
||
| void | SetTransform
(
FTransform3d Transform |
Sets the transform of the camera. |