engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
UE::MovieScene::FPropertyComponentView结构体 参考

Type-erased view of a component. 更多...

#include <IMovieScenePropertyComponentHandler.h>

Public 成员函数

template<typename T >
 FPropertyComponentView (T &InData)
 Construction from a specific piece of data. 更多...
 
 FPropertyComponentView (void *InData, int32 InDataSizeof)
 Construction from a pointer to a piece of data, and its type's size. 更多...
 
template<typename T >
T & ReinterpretCast () const
 Cast this type-erased view to a known data type. 更多...
 
int32 Sizeof () const
 Retrieve the size of this component
 

详细描述

Type-erased view of a component.

Used for passing typed data through the IPropertyComponentHandler interface

构造及析构函数说明

◆ FPropertyComponentView() [1/2]

template<typename T >
UE::MovieScene::FPropertyComponentView::FPropertyComponentView ( T &  InData)
inline

Construction from a specific piece of data.

Specified data must outlive this view

◆ FPropertyComponentView() [2/2]

UE::MovieScene::FPropertyComponentView::FPropertyComponentView ( void *  InData,
int32  InDataSizeof 
)
inline

Construction from a pointer to a piece of data, and its type's size.

Specified data must outlive this view

成员函数说明

◆ ReinterpretCast()

template<typename T >
T & UE::MovieScene::FPropertyComponentView::ReinterpretCast ( ) const
inline

Cast this type-erased view to a known data type.

Only crude size checking is performned - user is responsible for ensuring that the cast is valid.


该结构体的文档由以下文件生成: