Navigation
API > API/Plugins > API/Plugins/LiveLinkComponents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- ULiveLinkControllerBase
- ULiveLinkCameraController
- ULiveLinkLensController
- ULiveLinkLightController
- ULiveLinkTransformController
References
| Module | LiveLinkComponents |
| Header | /Engine/Plugins/Animation/LiveLink/Source/LiveLinkComponents/Public/LiveLinkControllerBase.h |
| Include | #include "LiveLinkControllerBase.h" |
Syntax
UCLASS&40;Abstract, ClassGroup&61;&40;LiveLink&41;, EditInlineNew&41;
class ULiveLinkControllerBase : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| FComponentReference | ComponentPicker | A component reference (customized) that allows the user to specify a component that this controller should control | |
| FLiveLinkSubjectRepresentation | SelectedSubject |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Cleanup () |
Cleanup controller state before getting removed | |
| UActorComponent * | Returns the component controlled by this controller | ||
| TArray< TSubclassOf< ULiveLinkControllerBase > > | GetControllersForRole
(
const TSubclassOf< ULiveLinkRole >& RoleToSupport |
Returns the list of ULiveLinkControllerBase classes that support the given role | |
| TSubclassOf< UActorComponent > | Returns the component class that this controller wants to control | ||
| AActor * | |||
| FLiveLinkSubjectRepresentation | Get the selected LiveLink subject for this controller | ||
| void | |||
| bool | IsRoleSupported
(
const TSubclassOf< ULiveLinkRole >& RoleToSupport |
Can it support a specific role. This is called on the default object before creating an instance. | |
| void | Callback to reset the AttachedComponent when the value of the ComponentPicker is changed | ||
| void | Initialize the controller at the first tick of its owner component. | ||
| void | SetAttachedComponent
(
UActorComponent* ActorComponent |
Sets the component this controller is driving | |
| void | SetSelectedSubject
(
FLiveLinkSubjectRepresentation LiveLinkSubject |
Sets the live link subject from which this controller is receiving data | |
| void | Tick
(
float DeltaTime, |
Function called every frame with the data evaluated by the component. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| TWeakObjectPtr< UActorComponent > | AttachedComponent | This property has been deprecated. Please use GetAttachedComponent() instead. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| TSubclassOf< ULiveLinkControllerBase > | GetControllerForRole
(
const TSubclassOf< ULiveLinkRole >& RoleToSupport |
This function is deprecated. Use GetControllersForRole instead and use first element to have the same result. | |
| void | Tick
(
float DeltaTime, |
This function is deprecated. Use Tick function that received evaluated data instead. |