Navigation
API > API/Plugins > API/Plugins/AnimNext > API/Plugins/AnimNext/TraitCore
References
| Module | AnimNext |
| Header | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/TraitCore/TraitEventLifetime.h |
| Include | #include "TraitCore/TraitEventLifetime.h" |
Syntax
struct FTraitEventLifetime
Remarks
Trait Event Lifetime
This encapsulates a specific lifetime duration.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| constexpr | Creates an expired lifetime. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Decrement () |
Decrements the lifetime count and returns whether or not it has expired in the process. | |
| bool | IsExpired () |
Returns whether or not this lifetime has expired. | |
| bool | IsInfinite () |
Returns whether or not this lifetime is infinite. | |
| bool | IsTransient () |
Returns whether or not this lifetime is transient. | |
| FTraitEventLifetime | MakeInfinite () |
Creates a lifetime that extends forever. | |
| FTraitEventLifetime | Creates a lifetime that extends until the next graph update terminates. | ||
| FTraitEventLifetime | Creates a lifetime that extends for the specified number of graph updates. |
Constants
| Name | Description |
|---|---|
| EXPIRED_LIFETIME | Expired lifetime duration. |
| INFINITE_LIFETIME | Infinite lifetime duration. |
| TRANSIENT_LIFETIME | Transient lifetime duration. |