Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/ObjectElements
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDatasmithObjectElement
- UDatasmithActorElement
- UDatasmithCameraActorElement
References
| Module | DatasmithImporter |
| Header | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUObjectElements.h |
| Include | #include "ObjectElements/DatasmithUObjectElements.h" |
Syntax
UCLASS ()
class UDatasmithCameraActorElement : public UDatasmithActorElement
Remarks
Functions
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< IDatasmithCameraActorElement > | |||
| float | Get camera focal length in millimeters | ||
| float | Get camera focus distance in centimeters | ||
| float | GetFStop () |
Get camera FStop also known as FNumber | |
| FString | Get camera look at actor name | ||
| bool | Get camera look at allow roll state | ||
| UDatasmithPostProcessElement * | Get camera's postprocess | ||
| float | Get framebuffer aspect ratio (width/height) | ||
| float | Get camera sensor width in millimeters | ||
| void | SetDatasmithCameraActorElement
(
const TSharedPtr< IDatasmithCameraActorElement >& InElement |
||
| void | SetFocalLength
(
float FocalLength |
Set camera focal length in millimeters | |
| void | SetFocusDistance
(
float FocusDistance |
Set camera focus distance in centimeters | |
| void | SetFStop
(
float FStop |
Set camera FStop also known as FNumber | |
| void | SetLookAtActor
(
const FString& ActorPathName |
Set camera look at actor name | |
| void | SetLookAtAllowRoll
(
bool bAllow |
Set camera look at allow roll state | |
| void | SetSensorAspectRatio
(
float SensorAspectRatio |
Set framebuffer aspect ratio (width/height) | |
| void | SetSensorWidth
(
float SensorWidth |
Set camera sensor width in millimeters |
Overridden from UDatasmithActorElement
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< IDatasmithActorElement > |
Overridden from UDatasmithObjectElement
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< IDatasmithElement > | TODO: They are not covariant because of the TWeakPtr, can't override in child. | ||
| bool | Is the Element still valid for the Datasmith Scene |