G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FAnimNode_CopyPoseFromMesh Struct Reference

Simple controller to copy a bone's transform to another one. More...

Public Member Functions

Functions
bool GetbUseAttachedParent () const
 If SourceMeshComponent is not valid, and if this is true, it will look for attahced parent as a source.
void SetbUseAttachedParent (bool Value)
 If SourceMeshComponent is not valid, and if this is true, it will look for attahced parent as a source.
bool GetbCopyCurves () const
 Copy curves also from SouceMeshComponent. This will copy the curves if this instance also contains curve attributes.
void SetbCopyCurves (bool Value)
 Copy curves also from SouceMeshComponent. This will copy the curves if this instance also contains curve attributes.
bool GetbUseMeshPose () const
 Use root space transform to copy to the target pose. By default, it copies their relative transform (bone space).
void SetbUseMeshPose (bool Value)
 Use root space transform to copy to the target pose. By default, it copies their relative transform (bone space).
FAnimNode_CopyPoseFromMesh & opAssign (FAnimNode_CopyPoseFromMesh Other)

Public Attributes

Copy
bool bCopyCustomAttributes
 Copy custom attributes from SouceMeshComponent.
FName RootBoneToCopy
 If you want to specify copy root, use this - this will ensure copy only below of this joint (inclusively).
TWeakObjectPtr< USkeletalMeshComponent > SourceMeshComponent
 This is used by default if it's valid.
Variables
bool bCopyCurves
bool bUseMeshPose
bool bUseAttachedParent

Detailed Description

Simple controller to copy a bone's transform to another one.

Member Function Documentation

◆ GetbCopyCurves()

bool GetbCopyCurves ( ) const

Copy curves also from SouceMeshComponent. This will copy the curves if this instance also contains curve attributes.

◆ GetbUseAttachedParent()

bool GetbUseAttachedParent ( ) const

If SourceMeshComponent is not valid, and if this is true, it will look for attahced parent as a source.

◆ GetbUseMeshPose()

bool GetbUseMeshPose ( ) const

Use root space transform to copy to the target pose. By default, it copies their relative transform (bone space).

◆ opAssign()

◆ SetbCopyCurves()

void SetbCopyCurves ( bool Value)

Copy curves also from SouceMeshComponent. This will copy the curves if this instance also contains curve attributes.

◆ SetbUseAttachedParent()

void SetbUseAttachedParent ( bool Value)

If SourceMeshComponent is not valid, and if this is true, it will look for attahced parent as a source.

◆ SetbUseMeshPose()

void SetbUseMeshPose ( bool Value)

Use root space transform to copy to the target pose. By default, it copies their relative transform (bone space).

Member Data Documentation

◆ bCopyCurves

bool bCopyCurves

◆ bCopyCustomAttributes

bool bCopyCustomAttributes

Copy custom attributes from SouceMeshComponent.

◆ bUseAttachedParent

bool bUseAttachedParent

◆ bUseMeshPose

bool bUseMeshPose

◆ RootBoneToCopy

FName RootBoneToCopy

If you want to specify copy root, use this - this will ensure copy only below of this joint (inclusively).

◆ SourceMeshComponent

TWeakObjectPtr<USkeletalMeshComponent> SourceMeshComponent

This is used by default if it's valid.