UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::MovieScene::TSetPropertyValues< PropertyTraits > Struct Template Reference

#include <MovieScenePropertySystemTypes.h>

+ Inheritance diagram for UE::MovieScene::TSetPropertyValues< PropertyTraits >:

Public Types

using ParamType = typename TCallTraits< typename PropertyTraits::StorageType >::ParamType
 

Public Member Functions

 TSetPropertyValues (const PropertyTraits *InTraits, const ICustomPropertyRegistration *InCustomProperties)
 

Detailed Description

template<typename PropertyTraits>
struct UE::MovieScene::TSetPropertyValues< PropertyTraits >

Stateless entity task that will apply values to properties. Three types of property are supported: Custom native accessor functions, fast pointer offset, or FTrackInstancePropertyBindings

Can be invoked in one of 2 ways: either with a specific property type through a per-entity iteration:

TComponentTypeID<FCustomPropertyIndex> CustomProperty = ...;
TComponentTypeID<FTransform> TransformComponent = ...;
TComponentTypeID<UObject*> BoundObject = ...;

FEntityTaskBuilder()
.Read(BoundObject)
.Read(CustomProperty)
.Read(TransformComponent)
.Dispatch_PerEntity<TSetPropertyValues<FTransform>>( ... );

Or via a combinatorial task that iterates all entities with any one of the property components:

TComponentTypeID<uint16> FastPropertyOffset = ...;
TComponentTypeID<TSharedPtr<FTrackInstancePropertyBindings>> SlowProperty = ...;

FEntityTaskBuilder()
.Read(BoundObject)
.ReadOneOf(CustomProperty, FastProperty, SlowProperty)
.Read(TransformComponent)
.Dispatch_PerAllocation<TSetPropertyValues<FTransform>>( ... );

Member Typedef Documentation

◆ ParamType

template<typename PropertyTraits >
using UE::MovieScene::TSetPropertyValues< PropertyTraits >::ParamType = typename TCallTraits<typename PropertyTraits::StorageType>::ParamType

Constructor & Destructor Documentation

◆ TSetPropertyValues()

template<typename PropertyTraits >
UE::MovieScene::TSetPropertyValues< PropertyTraits >::TSetPropertyValues ( const PropertyTraits *  InTraits,
const ICustomPropertyRegistration InCustomProperties 
)
inlineexplicit

The documentation for this struct was generated from the following file: