Navigation
API > API/Runtime > API/Runtime/MovieScene
Manages bindings to keyed properties for a track instance. Calls UFunctions to set the value on runtime objects
| Name | FTrackInstancePropertyBindings |
| Type | class |
| Header File | /Engine/Source/Runtime/MovieScene/Public/TrackInstancePropertyBindings.h |
| Include Path | #include "TrackInstancePropertyBindings.h" |
Syntax
class FTrackInstancePropertyBindings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| TrackInstancePropertyBindings.h |
Structs
| Name | Remarks |
|---|---|
| FResolvedPropertyAndFunction |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FCachedProperty | UE::MovieScene::FCachedProperty | TrackInstancePropertyBindings.h | |
| FVolatileProperty | UE::MovieScene::FVolatileProperty | TrackInstancePropertyBindings.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FunctionName | FName | Name of the function to call to set values | TrackInstancePropertyBindings.h | |
| PropertyName | FName | Actual name of the property we are bound to | TrackInstancePropertyBindings.h | |
| PropertyPath | FString | Path to the property we are bound to | TrackInstancePropertyBindings.h | |
| RuntimeObjectToFunctionMap | TMap< FObjectKey, FResolvedPropertyAndFunction > | Mapping of objects to bound functions that will be called to update data on the track | TrackInstancePropertyBindings.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CacheBinding
(
const UObject& InRuntimeObject |
Rebuilds the property and function mappings for a single runtime object, and adds them to the cache | TrackInstancePropertyBindings.h | |
void CallFunction
(
UObject& InRuntimeObject, |
Explicit specializations for object pointers | TrackInstancePropertyBindings.h | |
void CallFunction
(
UObject& InRuntimeObject, |
Explicit specializations for bools | TrackInstancePropertyBindings.h | |
void CallFunction
(
UObject& InRuntimeObject, |
|||
void CallFunction
(
UObject& InRuntimeObject, |
|||
void CallFunction
(
UObject& InRuntimeObject, |
Calls the setter function for a specific runtime object or if the setter function does not exist, the property is set directly | TrackInstancePropertyBindings.h | |
void CallFunctionForEnum
(
UObject& InRuntimeObject, |
Calls the setter function for a specific runtime object or if the setter function does not exist, the property is set directly | TrackInstancePropertyBindings.h | |
ValueType GetCurrentValue
(
const UObject& Object |
Gets the current value of a property on an object | TrackInstancePropertyBindings.h | |
int64 GetCurrentValueForEnum
(
const UObject& Object |
Gets the current value of a property on an object | TrackInstancePropertyBindings.h | |
| Optionally gets the current value of a property on an object | TrackInstancePropertyBindings.h | ||
| Gets the FProperty that is bound to the track instance. | TrackInstancePropertyBindings.h | ||
const FName & GetPropertyName() |
TrackInstancePropertyBindings.h | ||
const FString & GetPropertyPath() |
TrackInstancePropertyBindings.h | ||
| Gets the structure type of the bound property if it is a property of that type. | TrackInstancePropertyBindings.h | ||
bool HasValidBinding
(
const UObject& Object |
Returns whether this binding is valid for the given object. | TrackInstancePropertyBindings.h | |
void SetCurrentValue
(
UObject& Object, |
TrackInstancePropertyBindings.h | ||
void SetCurrentValue
(
UObject& Object, |
TrackInstancePropertyBindings.h | ||
void SetCurrentValue
(
UObject& Object, |
|||
void SetCurrentValue
(
UObject& Object, |
|||
void SetCurrentValue
(
UObject& Object, |
Sets the current value of a property on an object | TrackInstancePropertyBindings.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Finds the property at the end of the given property path. | TrackInstancePropertyBindings.h | ||
static FResolvedPropertyAndFunction FindPropertyAndFunction
(
const UObject* Object, |
TrackInstancePropertyBindings.h | ||
static void InvokeSetterFunction
(
UObject* InRuntimeObject, |
Wrapper for UObject::ProcessEvent that attempts to pass the new property value directly to the function as a parameter, but handles cases where multiple parameters or a return value exists. | TrackInstancePropertyBindings.h | |
static TOptional< TPair< const FProperty *, UE::MovieScene::FSourcePropertyValue > > StaticPropertyAndValue
(
const UObject* Object, |
TrackInstancePropertyBindings.h | ||
static TOptional< UE::MovieScene::FSourcePropertyValue > StaticValue
(
const UObject* Object, |
Static function for accessing a property value on an object without caching its address | TrackInstancePropertyBindings.h | |
static TOptional< ValueType > StaticValue
(
const UObject* Object, |
Static function for accessing a property value on an object without caching its address | TrackInstancePropertyBindings.h | |
static bool TryGetPropertyValue
(
const FResolvedPropertyAndFunction& PropAndFunction, |
TrackInstancePropertyBindings.h | ||
static bool TryGetPropertyValue
(
const FResolvedPropertyAndFunction& PropAndFunction, |
TrackInstancePropertyBindings.h | ||
static bool TryGetPropertyValue
(
const FResolvedPropertyAndFunction& PropAndFunction, |
|||
static bool TryGetPropertyValue
(
const FResolvedPropertyAndFunction& PropAndFunction, |
|||
static bool TryGetPropertyValue
(
const FResolvedPropertyAndFunction& PropAndFunction, |
TrackInstancePropertyBindings.h |