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

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

#include <IMovieScenePropertyComponentHandler.h>

Public 成员函数

template<typename T >
 FConstPropertyComponentView (const T &InData)
 Construction from a specific piece of data. 更多...
 
 FConstPropertyComponentView (const void *InData, int32 InDataSizeof)
 Construction from a pointer to a piece of data, and its type's size. 更多...
 
template<typename T >
const 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 constant component.

Used for passing typed data through the IPropertyComponentHandler interface

构造及析构函数说明

◆ FConstPropertyComponentView() [1/2]

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

Construction from a specific piece of data.

Specified data must outlive this view

◆ FConstPropertyComponentView() [2/2]

UE::MovieScene::FConstPropertyComponentView::FConstPropertyComponentView ( const 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 >
const T & UE::MovieScene::FConstPropertyComponentView::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.


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