TPropertyComponents

User-defined property type that is represented as an [UE::MovieScene::FPropertyDefinition](API\Runtime\MovieScene\EntitySystem\FPropertyDefinition) within [UE::MovieScene::FPropertyRegistry](API\Runtime\MovieScene\EntitySystem\FPropertyRegistry)

Windows
MacOS
Linux

References

Module

MovieScene

Header

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

Include

#include "EntitySystem/MovieSceneComponentRegistry.h"

Syntax

template<typename PropertyTraits>
struct TPropertyComponents

Remarks

User-defined property type that is represented as an UE::MovieScene::FPropertyDefinition within UE::MovieScene::FPropertyRegistry

This type must be templated on a traits class that defines the storage type for the property, and methods for retrieving and assigning the property value from a UObject*. See TDirectPropertyTraits and TIndirectPropertyTraits for examples. TRuntimePropertyTraits shows an example trait for a property that requires additional meta-data components where multiple property types can be represented by a single property definition at runtime (ie, for multi-channel vectors, or colors)

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