Navigation
API > API/Plugins > API/Plugins/GameplayCameras > API/Plugins/GameplayCameras/Core
Inheritance Hierarchy
- UObject
- IHasCameraBuildStatus
- IObjectTreeGraphObject
- IObjectTreeGraphRootObject
- UCameraAsset
References
| Module | GameplayCameras |
| Header | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Core/CameraAsset.h |
| Include | #include "Core/CameraAsset.h" |
Syntax
UCLASS (MinimalAPI)
class UCameraAsset :
public UObject,
public IHasCameraBuildStatus ,
public IObjectTreeGraphObject ,
public IObjectTreeGraphRootObject
Remarks
A complete camera asset.
Variables
| Type | Name | Description | |
|---|---|---|---|
| UE::Cameras::TCameraEventHandlerContainer< UE::Cameras::ICameraAssetEventHandler > | EventHandlers | Event handlers to be notified of data changes. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCameraRig
(
UCameraRigAsset* InCameraRig |
Adds a a camera rig. | |
| void | AddEnterTransition
(
UCameraRigTransition* InTransition |
Adds an enter transition. | |
| void | AddExitTransition
(
UCameraRigTransition* InTransition |
Adds an exit transition. | |
| void | BuildCamera () |
Builds and validates this camera, including all its camera rigs. | |
| void | BuildCamera
(
UE::Cameras::FCameraBuildLog& InBuildLog |
Builds and validates this camera, including all its camera rigs. | |
| UCameraDirector * | Gets the camera director. | ||
| TArrayView< const TObjectPtr< UCameraRigAsset > > | Gets the camera rigs. | ||
| TArrayView< const TObjectPtr< UCameraRigTransition > > | Gets the enter transitions. | ||
| TArrayView< const TObjectPtr< UCameraRigTransition > > | Gets the exit transitions. | ||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | PostLoad () |
||
| void | PreSave
(
FObjectPreSaveContext ObjectSaveContext |
||
| int32 | RemoveCameraRig
(
UCameraRigAsset* InCameraRig |
Removes a camera rig. | |
| int32 | RemoveEnterTransition
(
UCameraRigTransition* InTransition |
Removes an enter transition. | |
| int32 | RemoveExitTransition
(
UCameraRigTransition* InTransition |
Removes an exit transition. | |
| void | SetBuildStatus
(
ECameraBuildStatus InBuildStatus |
Sets the build status. | |
| void | SetCameraDirector
(
UCameraDirector* InCameraDirector |
Sets the camera director. |
Overridden from IHasCameraBuildStatus
| Type | Name | Description | |
|---|---|---|---|
| void | Dirties the build status of the object. | ||
| ECameraBuildStatus | Gets the build status of the object. |
Overridden from IObjectTreeGraphObject
| Type | Name | Description | |
|---|---|---|---|
| const FString & | GetGraphNodeCommentText
(
FName InGraphName |
Gets the graph node's comment text. | |
| void | GetGraphNodePosition
(
FName InGraphName, |
Gets the canvas position for the graph node representing this object. | |
| EObjectTreeGraphObjectSupportFlags | GetSupportFlags
(
FName InGraphName |
Gets optional APIs support flags. | |
| void | OnGraphNodeMoved
(
FName InGraphName, |
Called to save the canvas position of the graph node representing this object. | |
| void | OnUpdateGraphNodeCommentText
(
FName InGraphName, |
Called to save a new comment text. |
Overridden from IObjectTreeGraphRootObject
| Type | Name | Description | |
|---|---|---|---|
| void | AddConnectableObject
(
FName InGraphName, |
||
| void | GetConnectableObjects
(
FName InGraphName, |
||
| void | RemoveConnectableObject
(
FName InGraphName, |
Constants
| Name | Description |
|---|---|
| SharedTransitionsGraphName | Graph names for ObjectTreeGraph API. |