Navigation
API > API/Runtime > API/Runtime/MovieScene > API/Runtime/MovieScene/EntitySystem
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)
Variables
| Type | Name | Description | |
|---|---|---|---|
| TCompositePropertyTypeID< PropertyTraits > | CompositeID | ||
| TComponentTypeID< typename PropertyTraits::StorageType > | InitialValue | ||
| TPropertyMetaDataComponents< typename PropertyTraits::MetaDataType > | MetaDataComponents | ||
| FComponentTypeID | PropertyTag |