Navigation
API > API/Plugins > API/Plugins/AnimDatabase
Function for computing the root transform using the look-at direction
| Name | UAnimDatabaseFunction_SetRootFromLookAt |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Animation/AnimDatabase/Source/AnimDatabase/Public/AnimDatabase.h |
| Include Path | #include "AnimDatabase.h" |
Syntax
UCLASS (BlueprintType, Blueprintable, Meta=(DisplayName="Set Root from Look-At Function"))
class UAnimDatabaseFunction_SetRootFromLookAt : public UAnimDatabaseFunction
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAnimDatabaseFunction → UAnimDatabaseFunction_SetRootFromLookAt
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bApplySmoothing | bool | If to apply smoothing to the root | AnimDatabase.h |
|
| bUseGaussianWindowedSavGolFilter | bool | If to use a gaussian window on the SavGol filter weights | AnimDatabase.h |
|
| bUseSavGolFilter | bool | If to use a SavGol filter for smoothing. | AnimDatabase.h |
|
| DirectionSavGolFilterWidth | float | Filter width for the direction savgol filter. Larger values create smoother trajectories. | AnimDatabase.h |
|
| DirectionSavGolPolynomialDegree | int32 | Degree of polynomial to use for the direction savgol filter. | AnimDatabase.h |
|
| DirectionSmoothingTime | float | Amount of smoothing to apply to the facing direction | AnimDatabase.h |
|
| LocationSavGolFilterWidth | float | Filter width for the location savgol filter. Larger values create smoother trajectories. | AnimDatabase.h |
|
| LocationSavGolPolynomialDegree | int32 | Degree of polynomial to use for the location savgol filter. | AnimDatabase.h |
|
| LocationSmoothingTime | float | Amount of smoothing to apply to the projected bone location | AnimDatabase.h |
|
| PelvisBone | FName | Pelvis bone name | AnimDatabase.h |
|
| RootBone | FName | Root bone name | AnimDatabase.h |
|
| RootDirection | FVector | Root bone forward vector | AnimDatabase.h |
|
| RootDirectionBone | FName | Bone to use for the root facing direction | AnimDatabase.h |
|
| RootDirectionBoneDirection | FVector | Local forward direction of the above bone to use as the facing direction | AnimDatabase.h |
|
| RootLocationBone | FName | Bone to project onto the floor to use as the root location | AnimDatabase.h |
|