FEntityFactories::DefineMutuallyInclusiveComponent

Indicates that if the first component exists on an entity, the second component should be created on that entity too.

Windows
MacOS
Linux

References

Module

MovieScene

Header

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

Include

#include "EntitySystem/MovieSceneEntityFactory.h"

Source

/Engine/Source/Runtime/MovieScene/Private/EntitySystem/MovieSceneEntityFactory.cpp

Syntax

void DefineMutuallyInclusiveComponent
(
    FComponentTypeID InComponentA,
    FComponentTypeID InComponentB
)

Remarks

Indicates that if the first component exists on an entity, the second component should be created on that entity too.

@note the inverse is not implied (ie B can still exist without A)

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