Navigation
API > API/Plugins > API/Plugins/AnimationBudgetAllocator
Dynamically manages skeletal mesh component tick rates to try to maintain a specified budget.
| Name | IAnimationBudgetAllocator |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AnimationBudgetAllocator/Source/AnimationBudgetAllocator/Public/IAnimationBudgetAllocator.h |
| Include Path | #include "IAnimationBudgetAllocator.h" |
Syntax
class IAnimationBudgetAllocator
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ForceNextTickThisFrame
(
USkeletalMeshComponentBudgeted* Component |
Force component to tick this frame regardless of tick rate | IAnimationBudgetAllocator.h | |
bool GetEnabled() |
Get whether this budget allocator is enabled | IAnimationBudgetAllocator.h | |
bool IsComponentTickEnabled
(
USkeletalMeshComponentBudgeted* Component |
Get whether the specified component is set to tick or not | IAnimationBudgetAllocator.h | |
void RegisterComponent
(
USkeletalMeshComponentBudgeted* InComponent |
Register a component with the budgeter system. | IAnimationBudgetAllocator.h | |
void SetComponentSignificance
(
USkeletalMeshComponentBudgeted* Component, |
Set the significance and other flags for the specified component. | IAnimationBudgetAllocator.h | |
void SetComponentTickEnabled
(
USkeletalMeshComponentBudgeted* Component, |
Set the specified component to tick or not. | IAnimationBudgetAllocator.h | |
void SetEnabled
(
bool bInEnabled |
Set whether this budget allocator is enabled | IAnimationBudgetAllocator.h | |
void SetGameThreadLastCompletionTimeMs
(
int32 InManagerHandle, |
Set the completion task time | IAnimationBudgetAllocator.h | |
void SetGameThreadLastTickTimeMs
(
int32 InManagerHandle, |
Set the tick time | IAnimationBudgetAllocator.h | |
void SetIsRunningReducedWork
(
USkeletalMeshComponentBudgeted* Component, |
Inform that we reduced work for a component | IAnimationBudgetAllocator.h | |
void SetParameters
(
const FAnimationBudgetAllocatorParameters& InParameters |
Set the various parameters | IAnimationBudgetAllocator.h | |
void UnregisterAllComponents() |
Calls UnregisterComponent on all components currently registered with the allocator. | IAnimationBudgetAllocator.h | |
void UnregisterComponent
(
USkeletalMeshComponentBudgeted* InComponent |
Unregister a component from the budgeter system. | IAnimationBudgetAllocator.h | |
void Update
(
float DeltaSeconds |
Tick the system per-frame | IAnimationBudgetAllocator.h | |
void UpdateComponentTickPrerequsites
(
USkeletalMeshComponentBudgeted* InComponent |
Update the prerequisites of this component. | IAnimationBudgetAllocator.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static IAnimationBudgetAllocator * Get
(
UWorld* InWorld |
Get the budgeter for the specified world | IAnimationBudgetAllocator.h |