engine
 
载入中...
搜索中...
未找到
友元 | 所有成员列表
FRigVMMemoryContainer结构体 参考

The FRigVMMemoryContainer provides a heterogeneous memory container to store arbitrary data. 更多...

#include <RigVMMemory.h>

友元

class URigVM
 

详细描述

The FRigVMMemoryContainer provides a heterogeneous memory container to store arbitrary data.

Each element stored can be referred to using a FRigVMRegister. Elements can be accessed by index (index of the register), FRigVMOperand or by name. Name access is optional and is specified upon construction of the container. The memory container provides a series of templated functions to add and get data.

For example: int32 Index = Container.Add<float>(4.f); float& ValueRef = Container.GetRef<float>(Index);

This can also be done with arrays: TArray<float> MyArray = {3.f, 4.f, 5.f}; int32 Index = Container.AddFixedArray<float>(MyArray); FRigVMFixedArray<float> ArrayView = Container.GetFixedArray<float>(Index);


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