Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FPlaybackCapabilitiesImpl
Description
Creates and stores a new capability object at the given bit.
- StorageType is what is actually constructed and stored in our memory buffer. It can be the same as CapabilityType, a subclass of it, a pointer to it, or a shared pointer to it.
- CapabilityType is the base capability type, used onlyfor inline storage when the StorageType is a subclass and we need to compute the pointer offset.
| Name | AddCapability |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieScenePlaybackCapabilities.h |
| Include Path | #include "Evaluation/MovieScenePlaybackCapabilities.h" |
template<typename StorageType, typename CapabilityType, typename ... ArgTypes>
FPlaybackCapabilityPtr AddCapability
(
uint32 CapabilityBit,
ArgTypes &&... InArgs
)