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