Class UManusComponent
A Skeletal Mesh component animated by a Manus Glove.
#include <ManusComponent.h>
Inherits the following classes: USkeletalMeshComponent
Public Attributes
| Type | Name |
|---|---|
| float | LeftHandFingersCollisionVibratePowers Vibrate powers coming from collision detection for each finger of the left hand. |
| int32 | ManusReplicatorId ID of the Manus replicator to be used with this Manus component. |
| class UManusSkeleton * | ManusSkeleton The Manus skeleton to use. |
| FManusComponentGestureFinishedSignature | OnGestureFinished |
| FManusComponentGestureOnGoingSignature | OnGestureOnGoing |
| FManusComponentGestureStartedSignature | OnGestureStarted |
| float | RightHandFingersCollisionVibratePowers Vibrate powers coming from collision detection for each finger of the right hand. |
| bool | bFingerHaptics Whether to apply finger haptics on the Manus Gloves (only works with Haptic Gloves). |
Public Functions
| Type | Name |
|---|---|
| virtual void | BeginDestroy () override |
| virtual void | BeginPlay () override |
| DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams (FManusComponentGestureOnGoingSignature, EManusHandType, HandType, FName, GestureName, float, Duration) Delegate called every frame for each on-going gesture. |
|
| DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (FManusComponentGestureStartedSignature, EManusHandType, HandType, FName, GestureName) Delegate called every frame for each gesture that just started. |
|
| DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (FManusComponentGestureFinishedSignature, EManusHandType, HandType, FName, GestureName) Delegate called every frame for each gesture that just finished. |
|
| virtual void | EndPlay (const EEndPlayReason::Type EndPlayReason) override |
| FString | GetLiveLinkSubjectName () const Returns the name of the Live Link subject of this Manus component. |
| int | GetManusSkeletonId () const get the skeleton id |
| void | InitManusReplicatorID () Initialize the Manus replicator ID to be used with this Manus component. |
| bool | IsLocallyControlled () const Returns whether this component is in a locally controlled Pawn. |
| bool | IsLocallyOwned () const Returns whether this component is in a locally owned Pawn. |
| void | OnHit (UPrimitiveComponent * HitComp, AActor * OtherActor, UPrimitiveComponent * OtherComp, FVector NormalImpulse, const FHitResult & Hit) Called when the component is hit. |
| virtual void | PostLoad () override |
| virtual void | RefreshManusSkeleton () |
| virtual void | TickComponent (float DeltaSeconds, enum ELevelTick TickType, FActorComponentTickFunction * ThisTickFunction) override |
| UManusComponent (const FObjectInitializer & ObjectInitializer) |
Protected Functions
| Type | Name |
|---|---|
| virtual bool | ComponentOverlapMultiImpl (TArray< struct FOverlapResult > & OutOverlaps, const class UWorld * InWorld, const FVector & Pos, const FQuat & Rot, ECollisionChannel TestChannel, const struct FComponentQueryParams & Params, const struct FCollisionObjectQueryParams & ObjectQueryParams=FCollisionObjectQueryParams::DefaultObjectQueryParam) const Override this method to add the missing Bone names to the overlap results. |
Public Attributes Documentation
variable LeftHandFingersCollisionVibratePowers
Vibrate powers coming from collision detection for each finger of the left hand.
variable ManusReplicatorId
ID of the Manus replicator to be used with this Manus component.
variable ManusSkeleton
The Manus skeleton to use.
variable OnGestureFinished
variable OnGestureOnGoing
variable OnGestureStarted
variable RightHandFingersCollisionVibratePowers
Vibrate powers coming from collision detection for each finger of the right hand.
variable bFingerHaptics
Whether to apply finger haptics on the Manus Gloves (only works with Haptic Gloves).
Public Functions Documentation
function BeginDestroy
function BeginPlay
function DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams
Delegate called every frame for each on-going gesture.
UManusComponent::DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams (
FManusComponentGestureOnGoingSignature,
EManusHandType,
HandType,
FName,
GestureName,
float,
Duration
)
function DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams [1/2]
Delegate called every frame for each gesture that just started.
UManusComponent::DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (
FManusComponentGestureStartedSignature,
EManusHandType,
HandType,
FName,
GestureName
)
function DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams [2/2]
Delegate called every frame for each gesture that just finished.
UManusComponent::DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams (
FManusComponentGestureFinishedSignature,
EManusHandType,
HandType,
FName,
GestureName
)
function EndPlay
function GetLiveLinkSubjectName
Returns the name of the Live Link subject of this Manus component.
function GetManusSkeletonId
get the skeleton id
function InitManusReplicatorID
Initialize the Manus replicator ID to be used with this Manus component.
function IsLocallyControlled
Returns whether this component is in a locally controlled Pawn.
function IsLocallyOwned
Returns whether this component is in a locally owned Pawn.
function OnHit
Called when the component is hit.
void UManusComponent::OnHit (
UPrimitiveComponent * HitComp,
AActor * OtherActor,
UPrimitiveComponent * OtherComp,
FVector NormalImpulse,
const FHitResult & Hit
)
function PostLoad
function RefreshManusSkeleton
function TickComponent
virtual void UManusComponent::TickComponent (
float DeltaSeconds,
enum ELevelTick TickType,
FActorComponentTickFunction * ThisTickFunction
) override
function UManusComponent
Protected Functions Documentation
function ComponentOverlapMultiImpl
Override this method to add the missing Bone names to the overlap results.
virtual bool UManusComponent::ComponentOverlapMultiImpl (
TArray< struct FOverlapResult > & OutOverlaps,
const class UWorld * InWorld,
const FVector & Pos,
const FQuat & Rot,
ECollisionChannel TestChannel,
const struct FComponentQueryParams & Params,
const struct FCollisionObjectQueryParams & ObjectQueryParams=FCollisionObjectQueryParams::DefaultObjectQueryParam
) const
The documentation for this class was generated from the following file api/Unreal/Plugins/Manus/Source/Manus/Public/ManusComponent.h