Stateless entity task that writes current property values to the specified intermediate component. 更多...
#include <MovieScenePropertySystemTypes.h>
Public 成员函数 | |
| void | ForEachAllocation (const FEntityAllocation *Allocation, TRead< UObject * > BoundObjectComponents, FThreeWayAccessor PropertyBindingComponents, TWrite< OperationalType > OutValueComponents) |
| Task callback that writes current property values for objects into an output component for a whole allocation of entities with either an FCustomPropertyIndex, uint16 or TSharedPtr<FTrackInstancePropertyBindings> property component Must be invoked with a task builder with the specified parameters: 更多... | |
| void | ForEachAllocation (const FEntityAllocation *Allocation, TRead< UObject * > BoundObjectComponents, FTwoWayAccessor PropertyBindingComponents, TWrite< OperationalType > OutValueComponents) |
| Task callback that writes current property values for objects into an output component for a whole allocation of entities with either a uint16 or TSharedPtr<FTrackInstancePropertyBindings> property component Must be invoked with a task builder with the specified parameters: 更多... | |
| void | ForEachEntity (UObject *InObject, FCustomPropertyIndex CustomPropertyIndex, OperationalType &OutValue) |
| Task callback that retrieves the object's current value via a custom native setter function, and writes it to the specified output variable Must be invoked with a task builder with the specified parameters: 更多... | |
| void | ForEachEntity (UObject *InObject, TSharedPtr< FTrackInstancePropertyBindings > PropertyBindings, OperationalType &OutValue) |
| Task callback that retrieves the object's current value via a slow (legacy) track instance binding, and writes it to the specified output variable Must be invoked with a task builder with the specified parameters: 更多... | |
| void | ForEachEntity (UObject *InObject, uint16 PropertyOffset, OperationalType &OutValue) |
| Task callback that retrieves the object's current value via a fast pointer offset, and writes it to the specified output variable Must be invoked with a task builder with the specified parameters: 更多... | |
Stateless entity task that writes current property values to the specified intermediate component.
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<FMyOperationalType> IntermediateTransformComponent = ...; TComponentTypeID<UObject*> BoundObject = ...; FEntityTaskBuilder() .Read(BoundObject) .Read(CustomProperty) .Write(IntermediateTransformComponent) .Dispatch_PerEntity<TGetPropertyValues<FTransform, FMyOperationalType>>( ... );
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) .Write(IntermediateTransformComponent) .Dispatch_PerAllocation<TGetPropertyValues<FTransform, FMyOperationalType>>( ... );
|
inline |
Task callback that writes current property values for objects into an output component for a whole allocation of entities with either an FCustomPropertyIndex, uint16 or TSharedPtr<FTrackInstancePropertyBindings> property component Must be invoked with a task builder with the specified parameters:
FEntityTaskBuilder() .Read( TComponentTypeID<UObject*>(...) ) .ReadOneOf( TComponentTypeID<FCustomPropertyIndex>(...), TComponentTypeID<uint16>(...), TComponentTypeID<TSharedPtr<FTrackInstancePropertyBindings>>(...) ) .Write( TComponentTypeID<OperationalType>(...) ) .Dispatch_PerAllocation<TGetPropertyValues<PropertyType, OperationalType>>(...);
|
inline |
Task callback that writes current property values for objects into an output component for a whole allocation of entities with either a uint16 or TSharedPtr<FTrackInstancePropertyBindings> property component Must be invoked with a task builder with the specified parameters:
FEntityTaskBuilder() .Read( TComponentTypeID<UObject*>(...) ) .ReadOneOf( TComponentTypeID<uint16>(...), TComponentTypeID<TSharedPtr<FTrackInstancePropertyBindings>>(...) ) .Read( TComponentTypeID<OperationalType>(...) ) .Dispatch_PerAllocation<TGetPropertyValues<PropertyType ,OperationalType>>(...);
|
inline |
Task callback that retrieves the object's current value via a custom native setter function, and writes it to the specified output variable Must be invoked with a task builder with the specified parameters:
FEntityTaskBuilder() .Read( TComponentTypeID<UObject*>(...) ) .Read( TComponentTypeID<FCustomPropertyIndex>(...) ) .Write( TComponentTypeID<OperationalType>(...) ) .Dispatch_PerEntity<TGetPropertyValues<PropertyType, OperationalType>>(...);
|
inline |
Task callback that retrieves the object's current value via a slow (legacy) track instance binding, and writes it to the specified output variable Must be invoked with a task builder with the specified parameters:
FEntityTaskBuilder() .Read( TComponentTypeID<UObject*>(...) ) .Read( TComponentTypeID<TSharedPtr<FTrackInstancePropertyBindings>>(...) ) .Read( TComponentTypeID<OperationalType>(...) ) .Dispatch_PerEntity<TGetPropertyValues<PropertyType, OperationalType>>(...);
|
inline |
Task callback that retrieves the object's current value via a fast pointer offset, and writes it to the specified output variable Must be invoked with a task builder with the specified parameters:
FEntityTaskBuilder() .Read( TComponentTypeID<UObject*>(...) ) .Read( TComponentTypeID<uint16>(...) ) .Read( TComponentTypeID<OperationalType>(...) ) .Dispatch_PerEntity<TGetPropertyValues<PropertyType, OperationalType>>(...);