engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
FTrackInstancePropertyBindings类 参考

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

成员函数说明

◆ CacheBinding()

void FTrackInstancePropertyBindings::CacheBinding ( const UObject &  InRuntimeObject)

Rebuilds the property and function mappings for a single runtime object, and adds them to the cache

参数
InRuntimeObjectThe object to cache mappings for

◆ CallFunction()

template<typename ValueType >
void FTrackInstancePropertyBindings::CallFunction ( UObject &  InRuntimeObject,
typename TCallTraits< ValueType >::ParamType  PropertyValue 
)
inline

Calls the setter function for a specific runtime object or if the setter function does not exist, the property is set directly

参数
InRuntimeObjectThe runtime object whose function to call
PropertyValueThe new value to assign to the property

◆ CallFunctionForEnum()

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

参数
InRuntimeObjectThe runtime object whose function to call
PropertyValueThe new value to assign to the property

◆ GetCurrentValue()

template<typename ValueType >
ValueType FTrackInstancePropertyBindings::GetCurrentValue ( const UObject &  Object)
inline

Gets the current value of a property on an object

参数
ObjectThe object to get the property from
返回
ValueType The current value

◆ GetCurrentValueForEnum()

int64 FTrackInstancePropertyBindings::GetCurrentValueForEnum ( const UObject &  Object)

Gets the current value of a property on an object

参数
ObjectThe object to get the property from
返回
ValueType The current value

◆ GetOptionalValue()

template<typename ValueType >
TOptional< ValueType > FTrackInstancePropertyBindings::GetOptionalValue ( const UObject &  Object)
inline

Optionally gets the current value of a property on an object

参数
ObjectThe object to get the property from
返回
(Optional) The current value of the property on the object

◆ GetProperty()

FProperty * FTrackInstancePropertyBindings::GetProperty ( const UObject &  Object) const

Gets the FProperty that is bound to the track instance

参数
ObjectThe Object that owns the property
返回
The property on the object if it exists

◆ GetPropertyName()

const FName & FTrackInstancePropertyBindings::GetPropertyName ( ) const
inline
返回
the property name that this binding was initialized from

◆ GetPropertyPath()

const FString & FTrackInstancePropertyBindings::GetPropertyPath ( ) const
inline
返回
the property path that this binding was initialized from

◆ SetCurrentValue()

template<typename ValueType >
void FTrackInstancePropertyBindings::SetCurrentValue ( UObject &  Object,
typename TCallTraits< ValueType >::ParamType  InValue 
)
inline

Sets the current value of a property on an object

参数
ObjectThe object to set the property on
InValueThe value to set

◆ StaticValue()

template<typename ValueType >
static TOptional< ValueType > FTrackInstancePropertyBindings::StaticValue ( const UObject *  Object,
const FString &  InPropertyPath 
)
inlinestatic

Static function for accessing a property value on an object without caching its address

参数
ObjectThe object to get the property from
InPropertyPathThe path to the property to retrieve
返回
(Optional) The current value of the property on the object

该类的文档由以下文件生成: