unreal.BlueprintCameraPoseFunctionLibrary¶
- class unreal.BlueprintCameraPoseFunctionLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibraryUtility Blueprint functions for camera poses.
C++ Source:
Plugin: GameplayCameras
Module: GameplayCameras
File: BlueprintCameraPose.h
- classmethod get_aim_dir(camera_pose) Vector¶
Gets the facing direction of the camera pose.
- Parameters:
camera_pose (BlueprintCameraPose)
- Return type:
- classmethod get_aim_ray(camera_pose) Ray¶
Gets the aim ray of the camera pose.
- Parameters:
camera_pose (BlueprintCameraPose)
- Return type:
- classmethod get_effective_field_of_view(camera_pose) double¶
Gets the effective field of view of the camera pose, possibly computed from focal length.
- Parameters:
camera_pose (BlueprintCameraPose)
- Return type:
double
- classmethod get_sensor_aspect_ratio(camera_pose) double¶
Gets the effective aspect ratio of the camera pose, computed from the sensor size.
- Parameters:
camera_pose (BlueprintCameraPose)
- Return type:
double
- classmethod get_target(camera_pose) Vector¶
Gets the target of the camera pose.
- Parameters:
camera_pose (BlueprintCameraPose)
- Return type:
- classmethod get_target_at_distance(camera_pose, target_distance) Vector¶
Gets the target of the camera pose given a specific target distance.
- Parameters:
camera_pose (BlueprintCameraPose)
target_distance (double)
- Return type:
- classmethod get_transform(camera_pose) Transform¶
Gets the transform matrix of the camera pose.
- Parameters:
camera_pose (BlueprintCameraPose)
- Return type:
- classmethod make_camera_pose_from_camera_component(camera_component) BlueprintCameraPose¶
Creates a new camera pose given a camera component.
- Parameters:
camera_component (CameraComponent)
- Return type:
- classmethod make_camera_pose_from_cine_camera_component(camera_component) BlueprintCameraPose¶
Creates a new camera pose given a cine-camera component.
- Parameters:
camera_component (CineCameraComponent)
- Return type:
- classmethod set_transform(camera_pose, transform) BlueprintCameraPose¶
Creates a copy of the given camera pose with the given location and rotation.
- Parameters:
camera_pose (BlueprintCameraPose)
transform (Transform)
- Return type: