AR_Engine_SDK
载入中...
搜索中...
未找到
函数 | 变量
XECustomMeshComponent.lua 文件参考

#include <XECustomMeshComponent.h>

类 XECustomMeshComponent 继承关系图:
Inheritance graph

函数

function XECustomMeshComponent CreatePrimtive () end
 
function XECustomMeshComponent RemovePrimtive (pPrimtive) end
 
function XECustomMeshComponent RemovePrimtive (pPrimtive, bClean) end
 
function XECustomMeshComponent InsertPrimtive (nIndex, pPrimtive) end
 

变量

 XECustomMeshComponent = {}
 

函数说明

◆ CreatePrimtive()

function XECustomMeshComponent CreatePrimtive ( )

创建一个绘制单元,创建的绘制单元会自动被该Component管理绘制

返回
XECustomPrimtive 创建的绘制单元

◆ InsertPrimtive()

function XECustomMeshComponent InsertPrimtive ( nIndex  ,
pPrimtive   
)

插入一个绘制单元,创建的绘制单元可以通过RemovePrimtive从某个Component中移除并不释放内存,就可以用来插入到另一个Component中。如果该绘制单元已存在于另一个Component,会被自动移除。

参数
nIndexnumber 插入的索引号
pPrimtiveXECustomPrimtive 要被插入的绘制单元
返回
void

◆ RemovePrimtive() [1/2]

function XECustomMeshComponent RemovePrimtive ( pPrimtive  )

移除一个绘制单元

参数
pPrimtiveXECustomPrimtive 要移除的绘制单元
返回
void

◆ RemovePrimtive() [2/2]

function XECustomMeshComponent RemovePrimtive ( pPrimtive  ,
bClean   
)

XECustomMeshComponent_RemovePrimtive01

参数
pPrimtiveXECustomPrimtive
bCleanboolean
返回
void

变量说明

◆ XECustomMeshComponent