Navigation
API > API/Plugins > API/Plugins/PerformanceCaptureWorkflowRuntim-
A component for use in Motion Capture props. Accepts data as either a LiveLink Transform Role or an Animation Role. If the Live Link data is in the Animation role, this component will take the root bone transform and apply that transform to the owning actor's root component. Can be applied to Static Meshes, Skeletal Meshes and Blueprint constructions. Transform data can be offset in the component's local space. If this component is driving a Skeletal Mesh component and is receiving Live Link Animation data the full bone hierarchy will be applied.
| Name | UPCapPropComponent |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/PerformanceCaptureWorkflow/Source/PerformanceCaptureWorkflowRuntime/Public/PCapPropComponent.h |
| Include Path | #include "PCapPropComponent.h" |
Syntax
UCLASS (Blueprintable, ClassGroup=("Performance Capture"),
Meta=(BlueprintSpawnableComponent, DisplayName="Prop Component"))
class UPCapPropComponent : public UActorComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UPCapPropComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCapPropComponent() |
Constructor. | PCapPropComponent.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~UPCapPropComponent() |
Destructor. | PCapPropComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAllowOnlyIKBones | bool | False = All bone chains' start and end bones will be considered for dynamic attachment . | PCapPropComponent.h |
|
| bEvaluateLiveLink | bool | Should LiveLink Subject data be evaluated. | PCapPropComponent.h |
|
| bIsControlledBySequencer | bool | Overrides all LiveLink data and the offset transform. Must be manually set on possessable bindings. | PCapPropComponent.h |
|
| bUseDynamicConstraint | bool | Enable/Disable use of the Dynamic Constraint offset vector. | PCapPropComponent.h |
|
| ControlledComponent | FComponentReference | Scene Component driven by the LiveLink data. Defaults to Root component of the owning actor. | PCapPropComponent.h |
|
| DynamicAttachmentCharacters | TArray< TSoftObjectPtr< ACaptureCharacter > > | List of Capture Characters to consider in calculating a dynamic constraint. | PCapPropComponent.h |
|
| DynamicConstraintAttachBones | TArray< FName > | A list of bones of to test against for dynamic constraint. | PCapPropComponent.h |
|
| OffsetTransform | FTransform | Offset the incoming LiveLink Transform data in the local space of the controlled component. | PCapPropComponent.h |
|
| SpawningDataAsset | FName | The package name of the spawning data asset, if there is one. | PCapPropComponent.h |
|
| SubjectName | FLiveLinkSubjectName | LiveLink Subject Name. Must have either Animation Role Type. | PCapPropComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsDirty | bool | PCapPropComponent.h | ||
| bIsSpawnableCache | TOptional< bool > | PCapPropComponent.h | ||
| CachedLiveLinkTransform | FTransform | PCapPropComponent.h | ||
| DynamicConstraintOffset | FVector | PCapPropComponent.h | ||
| FinalTransform | FTransform | PCapPropComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector CalculateDynamicOffset() |
Blueprint implementable event to enable calculation of a location offset before applying it to the controlled component's transform. | PCapPropComponent.h |
|
| Return a list of bones from the given list of DynamicAttachmentCharacters. | PCapPropComponent.h | ||
USceneComponent * GetControlledComponent() |
Returns the component controlled by this component. Can return null. | PCapPropComponent.h |
|
bool GetEvaluateLiveLinkData() |
Get the LiveLink Evaluation State. Subject must have the Animation Role Type. | PCapPropComponent.h |
|
FLiveLinkSubjectName GetLiveLinkSubject() |
Get the LiveLink Subject Name. | PCapPropComponent.h |
|
void InitiateAnimation() |
PCapPropComponent.h | ||
void ResetAnimInstance() |
PCapPropComponent.h | ||
void SetControlledComponent
(
USceneComponent* InComponent |
Sets the component controlled by this component. | PCapPropComponent.h |
|
void SetEvaluateLiveLinkData
(
bool bEvaluateLinkLink |
Set the LiveLink data to update the Skeletal Mesh pose. | PCapPropComponent.h |
|
void SetLiveLinkSubject
(
FLiveLinkSubjectName Subject |
Set the Live Link subject used by this prop component. | PCapPropComponent.h |
|
void SetOffsetTransform
(
FTransform NewOffset |
Update the local space offset to this prop's Live Link pose. | PCapPropComponent.h |
|
virtual void TickComponent
(
float DeltaTime, |
Called every frame. | PCapPropComponent.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DestroyComponent
(
bool bPromoteChildren |
PCapPropComponent.h | ||
virtual void OnRegister() |
PCapPropComponent.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
PCapPropComponent.h |