TEntityRange::SetComponent

Assign the value of an entity's component from its templated component array index, using the entity's index within this range.

Windows
MacOS
Linux

References

Module

MovieScene

Header

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

Include

#include "EntitySystem/MovieSceneEntityRange.h"

Syntax

template<int ComponentTypeIndex, typename ValueType>
void SetComponent
(
    int32 EntityIndex,
    ValueType && InValue
) const

Remarks

Assign the value of an entity's component from its templated component array index, using the entity's index within this range.

Parameters

Parameter

Description

EntityIndex

The index of the entity within this range

InValue

The value to assign to the component

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