|
AR_Engine_SDK
|

Functions | |
| function XECustomMeshComponent | CreatePrimtive () end |
| function XECustomMeshComponent | RemovePrimtive (pPrimtive) end |
| function XECustomMeshComponent | RemovePrimtive (pPrimtive, bClean) end |
| function XECustomMeshComponent | InsertPrimtive (nIndex, pPrimtive) end |
Variables | |
| XECustomMeshComponent = {} | |
| function XECustomMeshComponent CreatePrimtive | ( | ) |
创建一个绘制单元,创建的绘制单元会自动被该Component管理绘制
| function XECustomMeshComponent InsertPrimtive | ( | nIndex | , |
| pPrimtive | |||
| ) |
插入一个绘制单元,创建的绘制单元可以通过RemovePrimtive从某个Component中移除并不释放内存,就可以用来插入到另一个Component中。如果该绘制单元已存在于另一个Component,会被自动移除。
| nIndex | number 插入的索引号 |
| pPrimtive | XECustomPrimtive 要被插入的绘制单元 |
| function XECustomMeshComponent RemovePrimtive | ( | pPrimtive | ) |
| function XECustomMeshComponent RemovePrimtive | ( | pPrimtive | , |
| bClean | |||
| ) |
XECustomMeshComponent_RemovePrimtive01
| pPrimtive | XECustomPrimtive |
| bClean | boolean |
1.8.15