Navigation
API > API/Plugins > API/Plugins/LiveLinkComponents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- ULiveLinkComponentController
References
| Module | LiveLinkComponents |
| Header | /Engine/Plugins/Animation/LiveLink/Source/LiveLinkComponents/Public/LiveLinkComponentController.h |
| Include | #include "LiveLinkComponentController.h" |
Syntax
UCLASS&40;ClassGroup&61;&40;LiveLink&41;,
Meta&61;&40;DisplayName&61;"LiveLink Controller", BlueprintSpawnableComponent&41;&41;
class ULiveLinkComponentController : public UActorComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bDisableEvaluateLiveLinkWhenSpawnable | If true, will not evaluate LiveLink if the attached actor is a spawnable in Sequencer. | |
| bool | bEvaluateLiveLink | If false, will not evaluate live link, effectively pausing. | |
| bool | bIsDirty | Keep track when component gets registered or controller map gets changed. | |
| TOptional< bool > | bIsSpawnableCache | Cache if the owner is a spawnable. | |
| bool | bUpdateInEditor | ||
| bool | bUpdateInPreviewEditor | If true, will tick when the world is a preview (i.e Blueprint editors) | |
| TMap< TSubclassOf< ULiveLinkRole >, TObjectPtr< ULiveLinkControllerBase > > | ControllerMap | Instanced controllers used to control the desired role | |
| FOnControllerMapUpdatedDelegate | OnControllerMapUpdatedDelegate | This Event is triggered any time the controller map is updated. | |
| FLiveLinkTickDelegate | OnLiveLinkUpdated | This Event is triggered any time new LiveLink data is available, including in the editor. | |
| FLiveLinkSubjectRepresentation | SubjectRepresentation |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Loops through the controller map and calls Cleanup() on each entry | ||
| void | Called during loading to convert old data to new scheme. | ||
| UActorComponent * | GetControlledComponent
(
TSubclassOf< ULiveLinkRole > InRoleClass |
Returns the component controlled by the LiveLink controller of the input Role. | |
| TSubclassOf< ULiveLinkControllerBase > | GetControllerClassForRoleClass
(
const TSubclassOf< ULiveLinkRole > RoleClass |
||
| TArray< TSubclassOf< ULiveLinkRole > > | GetSelectedRoleHierarchyClasses
(
const TSubclassOf< ULiveLinkRole > InCurrentRoleClass |
Returns an array representing the class hierarchy of the given class | |
| FLiveLinkSubjectRepresentation | Return Representation of Subject that is used in the controller | ||
| void | InitializeController
(
ULiveLinkControllerBase* InController |
Initializes the component that the newly created input controller should control based on its specified desired component class | |
| bool | Returns true if ControllerMap needs to be updated for the current Role. | ||
| void | OnEndPIE
(
bool bIsSimulating |
Used to cleanup controllers when exiting PIE | |
| FLiveLinkControllersTicked & | Multicast delegate that broadcasts after LiveLink controllers have ticked with the latest frame of subject data | ||
| void | Used to notify that the subject role has changed. | ||
| void | SetControlledComponent
(
TSubclassOf< ULiveLinkRole > InRoleClass, |
Set the component to control for the LiveLink controller of the input Role | |
| void | SetControllerClassForRole
(
TSubclassOf< ULiveLinkRole > RoleClass, |
Creates an instance of the desired controller class for a specified Role class | |
| void | SetSubjectRepresentation
(
FLiveLinkSubjectRepresentation InSubjectRepresentation |
Set Representation of Subject that is used in the controller and update the controller map |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | DestroyComponent
(
bool bPromoteChildren |
Unregister the component, remove it from its outer Actor's Components array and mark for pending kill. | |
| void | OnRegister () |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. | |
| void | TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FComponentReference | ComponentToControl_DEPRECATED | This property has been deprecated. Please use the ComponentPicker property of each controller in this LiveLink component's controller map. | |
| TObjectPtr< ULiveLinkControllerBase > | Controller_DEPRECATED |