TEntityBuilderImpl< TIntegerSequence< int, Indices... >, T... >

Windows
MacOS
Linux

Inheritance Hierarchy

IEntityBuilder

TEntityBuilderImpl< TIntegerSequence< int, Indices... >, T... >

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneEntityBuilder.h

Include

#include "EntitySystem/MovieSceneEntityBuilder.h"

Syntax

template<typename... T, int... Indices>
struct TEntityBuilderImpl< TIntegerSequence< int, Indices... >, T... > : public UE::MovieScene::IEntityBuilder

Variables

Name Description

Protected variable

bool

 

bAddMutualComponents

Protected variable

TTuple< T... >

 

Payload

Payload data

Functions

Name Description

Public function

TEntityBuild...

 

Add

(
    TComponentTypeID< U > ComponentType,
    PayloadType&& InPayload
)

Add a component to the entity with a specific value

Public function

TEntityBuild...

 

AddConditional

(
    TComponentTypeID< U > ComponentType,
    PayloadType&& InPayload,
    bool bCondition
)

Conditionally add a component to the entity with a specific value

Public function

TEntityBuild...

 

AddDefaulted

(
    FComponentTypeID ComponentType
)

Add the specified default-constructed component type to the entity

Public function

TEntityBuild...

 

AddDefaultedConditional

(
    FComponentTypeID ComponentType,
    bool bCondition
)

Add the specified default-constructed component to the entity if a condition is met

Public function

TEntityBuild...

 

AddMany

(
    const FComponentMask& InComponents...
)

Add all the specified default-constructed component type to the entity

Public function

TEntityBuild...

 

AddMutualComponents()

Add any mutual components defined by the entity factory

Public function

TEntityBuild...

 

AddTag

(
    FComponentTypeID TagType
)

Add the specified tag to the entity. Equivalent to AddDefaulted.

Public function

TEntityBuild...

 

AddTagConditional

(
    FComponentTypeID TagType,
    bool bCondition
)

Add the specified tag to the entity. Equivalent to AddDefaulted.

Public function

TEntityBuild...

 

Append

(
    U&& InOther
)

Append another component type to this builder

Public function

FMovieSceneE...

 

CreateEntity

(
    FEntityManager* EntityManager,
    FComponentMask NewType
)

Create a new entity using this builder's definition by moving the payload components into the new entity.

Public function

void

 

CreateOrUpdate

(
    FEntityManager* EntityManager,
    FMovieSceneEntityID& InOutEntityID,
    const FTypelessMutation& Base
)

Mutate an existing entity using this instance's payload and an additional mask of components.

Public function

void

 

MutateExisting

(
    FEntityManager* EntityManager,
    FMovieSceneEntityID EntityID,
    const FTypelessMutation& Base
)

Mutate an existing entity using this instance's payload and an additional mask of components.

Public function

void

 

ReplaceEntity

(
    FEntityManager* EntityManager,
    FMovieSceneEntityID& InOutEntityID,
    FComponentMask NewType
)

Replace the components of an entity with this builder's definition.

Protected function

 

TEntityBuilderImpl

(
    T&&... InArgs,
    bool bInAddMutualComponents
)

Overridden from IEntityBuilder

Name Description

Public function Virtual

FMovieSceneE...

 

Create

(
    FEntityManager* EntityManager
)

Public function Virtual

void

 

GenerateType

(
    FEntityManager* EntityManager,
    FComponentMask& OutMask
)

Public function Virtual

void

 

Initialize

(
    FEntityManager* EntityManager,
    const FEntityInfo& Entity
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss