Navigation
API > API/Plugins > API/Plugins/GameplayCameras
Utility Blueprint functions for camera poses.
| Name | UBlueprintCameraPoseFunctionLibrary |
| Type | class |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/GameFramework/BlueprintCameraPose.h |
| Include Path | #include "GameFramework/BlueprintCameraPose.h" |
Syntax
UCLASS ()
class UBlueprintCameraPoseFunctionLibrary : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UBlueprintCameraPoseFunctionLibrary
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FVector GetAimDir
(
const FBlueprintCameraPose& CameraPose |
Gets the facing direction of the camera pose. | GameFramework/BlueprintCameraPose.h |
|
static FRay GetAimRay
(
const FBlueprintCameraPose& CameraPose |
Gets the aim ray of the camera pose. | GameFramework/BlueprintCameraPose.h |
|
static double GetEffectiveFieldOfView
(
const FBlueprintCameraPose& CameraPose |
Gets the effective field of view of the camera pose, possibly computed from focal length. | GameFramework/BlueprintCameraPose.h |
|
static double GetFieldOfView
(
const FBlueprintCameraPose& CameraPose |
GameFramework/BlueprintCameraPose.h |
|
|
static double GetFocalLength
(
const FBlueprintCameraPose& CameraPose |
GameFramework/BlueprintCameraPose.h |
|
|
static FVector GetLocation
(
const FBlueprintCameraPose& CameraPose |
GameFramework/BlueprintCameraPose.h |
|
|
static FRotator GetRotation
(
const FBlueprintCameraPose& CameraPose |
GameFramework/BlueprintCameraPose.h |
|
|
static double GetSensorAspectRatio
(
const FBlueprintCameraPose& CameraPose |
Gets the effective aspect ratio of the camera pose, computed from the sensor size. | GameFramework/BlueprintCameraPose.h |
|
static FVector GetTarget
(
const FBlueprintCameraPose& CameraPose |
Gets the target of the camera pose. | GameFramework/BlueprintCameraPose.h |
|
static FVector GetTargetAtDistance
(
const FBlueprintCameraPose& CameraPose, |
Gets the target of the camera pose given a specific target distance. | GameFramework/BlueprintCameraPose.h |
|
static double GetTargetDistance
(
const FBlueprintCameraPose& CameraPose |
GameFramework/BlueprintCameraPose.h |
|
|
static FTransform GetTransform
(
const FBlueprintCameraPose& CameraPose |
Gets the transform matrix of the camera pose. | GameFramework/BlueprintCameraPose.h |
|
static FBlueprintCameraPose MakeCameraPoseFromCameraComponent
(
const UCameraComponent* CameraComponent |
Creates a new camera pose given a camera component. | GameFramework/BlueprintCameraPose.h |
|
static FBlueprintCameraPose MakeCameraPoseFromCineCameraComponent
(
const UCineCameraComponent* CameraComponent |
Creates a new camera pose given a cine-camera component. | GameFramework/BlueprintCameraPose.h |
|
static FBlueprintCameraPose SetFieldOfView
(
const FBlueprintCameraPose& CameraPose, |
GameFramework/BlueprintCameraPose.h |
|
|
static FBlueprintCameraPose SetFocalLength
(
const FBlueprintCameraPose& CameraPose, |
GameFramework/BlueprintCameraPose.h |
|
|
static FBlueprintCameraPose SetLocation
(
const FBlueprintCameraPose& CameraPose, |
GameFramework/BlueprintCameraPose.h |
|
|
static FBlueprintCameraPose SetRotation
(
const FBlueprintCameraPose& CameraPose, |
GameFramework/BlueprintCameraPose.h |
|
|
static FBlueprintCameraPose SetTargetDistance
(
const FBlueprintCameraPose& CameraPose, |
GameFramework/BlueprintCameraPose.h |
|
|
static FBlueprintCameraPose SetTransform
(
const FBlueprintCameraPose& CameraPose, |
Creates a copy of the given camera pose with the given location and rotation. | GameFramework/BlueprintCameraPose.h |
|