Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/UMovieSceneEntityGroupingSystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEntityGroupingPolicyKey AddGrouping
(
TComponentTypeID< ComponentTypes >... InComponents |
Add a new grouping policy that will make a key that is a tuple of the given components' values. | EntitySystem/MovieSceneEntityGroupingSystem.h | |
FEntityGroupingPolicyKey AddGrouping
(
GroupingPolicy&& InPolicy, |
Add a new grouping policy that will use the given components to make up a group key. | EntitySystem/MovieSceneEntityGroupingSystem.h | |
FEntityGroupingPolicyKey AddGrouping
(
GroupingPolicy&& InPolicy, |
EntitySystem/MovieSceneEntityGroupingSystem.h |
AddGrouping(TComponentTypeID< ComponentTypes >...)
Description
Add a new grouping policy that will make a key that is a tuple of the given components' values.
| Name | AddGrouping |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityGroupingSystem.h |
| Include Path | #include "EntitySystem/MovieSceneEntityGroupingSystem.h" |
template<typename ... ComponentTypes>
FEntityGroupingPolicyKey AddGrouping
(
TComponentTypeID< ComponentTypes >... InComponents
)
AddGrouping(GroupingPolicy &&, TComponentTypeID< ComponentTypes >...)
Description
Add a new grouping policy that will use the given components to make up a group key.
Grouping policies must be simple structs that can be copied and owned by the grouping system, and that implement the following members:
- GroupKeyType [mandatory] A typedef or alias to the group key type to use to group entities together.
- GetGroupKey(ComponentTypes... InComponents, GroupKeyType& OutGroupKey) [mandatory] A function that creates a group key used to group entities together. Returns true to indicate the key is valid, false otherwise. If false, the entity corresponding to the given components will not be grouped.
- OnObjectsReplaced(GroupKeyType& InOut, const TMap
&) [mandatory, sadly] Potentially changes a key if it contains a pointer to a replaced object. Should return true if any replacement occured. - PreTask() [optional] A function called before any grouping is done during an instantiation phase.
- PostTask() [optional] A function called after any grouping is done dunring an instantiation phase.
- PreProcessGroups() [optional]
- PostProcessGroups() [optional]
| Name | AddGrouping |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityGroupingSystem.h |
| Include Path | #include "EntitySystem/MovieSceneEntityGroupingSystem.h" |
template<typename GroupingPolicy, typename ... ComponentTypes>
FEntityGroupingPolicyKey AddGrouping
(
GroupingPolicy && InPolicy,
TComponentTypeID< ComponentTypes >... InComponents
)
AddGrouping(GroupingPolicy &&, UE::MovieScene::FEntityComponentFilter &&, TComponentTypeID< ComponentTypes >...)
| Name | AddGrouping |
| Type | function |
| Header File | /Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityGroupingSystem.h |
| Include Path | #include "EntitySystem/MovieSceneEntityGroupingSystem.h" |
template<typename GroupingPolicy, typename ... ComponentTypes>
FEntityGroupingPolicyKey AddGrouping
(
GroupingPolicy && InPolicy,
UE::MovieScene::FEntityComponentFilter && InComponentFilter,
TComponentTypeID< ComponentTypes >... InComponents
)