unreal.DatasmithCameraActorElement
¶
- class unreal.DatasmithCameraActorElement(outer=None, name='None')¶
Bases:
unreal.DatasmithActorElement
UDatasmithCameraActorElement
C++ Source:
Plugin: DatasmithImporter
Module: DatasmithImporter
File: DatasmithUObjectElements.h
- get_post_process() → DatasmithPostProcessElement¶
Get camera’s postprocess
- Returns
- Return type
- set_focal_length(focal_length) → None¶
Set camera focal length in millimeters
- Parameters
focal_length (float) –
- set_focus_distance(focus_distance) → None¶
Set camera focus distance in centimeters
- Parameters
focus_distance (float) –
- set_look_at_actor(actor_path_name) → None¶
Set camera look at actor name
- Parameters
actor_path_name (str) –