Manages bindings to keyed properties for a track instance. 更多...
#include <MovieSceneCommonHelpers.h>
Public 成员函数 | |
| void | CacheBinding (const UObject &InRuntimeObject) |
| Rebuilds the property and function mappings for a single runtime object, and adds them to the cache 更多... | |
| template<> | |
| MOVIESCENE_API void | CallFunction (UObject &InRuntimeObject, TCallTraits< bool >::ParamType PropertyValue) |
| Explicit specializations for bools | |
| template<typename ValueType > | |
| void | CallFunction (UObject &InRuntimeObject, typename TCallTraits< ValueType >::ParamType PropertyValue) |
| Calls the setter function for a specific runtime object or if the setter function does not exist, the property is set directly 更多... | |
| void | CallFunctionForEnum (UObject &InRuntimeObject, int64 PropertyValue) |
| Calls the setter function for a specific runtime object or if the setter function does not exist, the property is set directly 更多... | |
| template<typename ValueType > | |
| ValueType | GetCurrentValue (const UObject &Object) |
| Gets the current value of a property on an object 更多... | |
| int64 | GetCurrentValueForEnum (const UObject &Object) |
| Gets the current value of a property on an object 更多... | |
| template<typename ValueType > | |
| TOptional< ValueType > | GetOptionalValue (const UObject &Object) |
| Optionally gets the current value of a property on an object 更多... | |
| FProperty * | GetProperty (const UObject &Object) const |
| Gets the FProperty that is bound to the track instance 更多... | |
| const FName & | GetPropertyName () const |
| const FString & | GetPropertyPath () const |
| template<typename ValueType > | |
| void | SetCurrentValue (UObject &Object, typename TCallTraits< ValueType >::ParamType InValue) |
| Sets the current value of a property on an object 更多... | |
静态 Public 成员函数 | |
| template<typename ValueType > | |
| static TOptional< ValueType > | StaticValue (const UObject *Object, const FString &InPropertyPath) |
| Static function for accessing a property value on an object without caching its address 更多... | |
Manages bindings to keyed properties for a track instance.
Calls UFunctions to set the value on runtime objects
| void FTrackInstancePropertyBindings::CacheBinding | ( | const UObject & | InRuntimeObject | ) |
Rebuilds the property and function mappings for a single runtime object, and adds them to the cache
| InRuntimeObject | The object to cache mappings for |
|
inline |
Calls the setter function for a specific runtime object or if the setter function does not exist, the property is set directly
| InRuntimeObject | The runtime object whose function to call |
| PropertyValue | The new value to assign to the property |
| void FTrackInstancePropertyBindings::CallFunctionForEnum | ( | UObject & | InRuntimeObject, |
| int64 | PropertyValue | ||
| ) |
Calls the setter function for a specific runtime object or if the setter function does not exist, the property is set directly
| InRuntimeObject | The runtime object whose function to call |
| PropertyValue | The new value to assign to the property |
|
inline |
Gets the current value of a property on an object
| Object | The object to get the property from |
| int64 FTrackInstancePropertyBindings::GetCurrentValueForEnum | ( | const UObject & | Object | ) |
Gets the current value of a property on an object
| Object | The object to get the property from |
|
inline |
Optionally gets the current value of a property on an object
| Object | The object to get the property from |
| FProperty * FTrackInstancePropertyBindings::GetProperty | ( | const UObject & | Object | ) | const |
Gets the FProperty that is bound to the track instance
| Object | The Object that owns the property |
|
inline |
|
inline |
|
inline |
Sets the current value of a property on an object
| Object | The object to set the property on |
| InValue | The value to set |
|
inlinestatic |
Static function for accessing a property value on an object without caching its address
| Object | The object to get the property from |
| InPropertyPath | The path to the property to retrieve |