Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/FPlaybackCapabilities
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T & AddCapability
(
ArgTypes&&... InArgs |
Adds the specified capability to the container, using the supplied arguments to construct it. | Evaluation/MovieScenePlaybackCapabilities.h | |
T & AddCapability
(
const TPlaybackCapabilityID< U > CapabilityID, |
As per AsCapability, but with an explicit capability ID. | Evaluation/MovieScenePlaybackCapabilities.h |
AddCapability(ArgTypes &&...)
Description
Adds the specified capability to the container, using the supplied arguments to construct it. The capability object will be stored inline and owned by this container. It will be destroyed when the container itself is destroyed. If the template parameter is a sub-class of the playback capability class, that sub-class will be created and stored inline.
| Name | AddCapability |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieScenePlaybackCapabilities.h |
| Include Path | #include "Evaluation/MovieScenePlaybackCapabilities.h" |
template<typename T, typename ... ArgTypes>
T & AddCapability
(
ArgTypes &&... InArgs
)
AddCapability(const TPlaybackCapabilityID< U >, ArgTypes &&...)
Description
As per AsCapability, but with an explicit capability ID. This is useful when the first template parameter doesn't have a single static member called ID providing the capability ID.
| Name | AddCapability |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Evaluation/MovieScenePlaybackCapabilities.h |
| Include Path | #include "Evaluation/MovieScenePlaybackCapabilities.h" |
template<typename T, typename U, typename ... ArgTypes>
T & AddCapability
(
const TPlaybackCapabilityID < U > CapabilityID,
ArgTypes &&... InArgs
)