AR_Engine_SDK
Functions | Variables
XEDummyActor.lua File Reference
类 XEDummyActor 继承关系图:
Inheritance graph

Functions

function XEDummyActor__XEAttachRender new () end
 
function XEDummyActor__XEAttachRender Render (pViewport) end
 
function XEDummyActor__XEAttachRender Tick (fDel) end
 
function XEDummyActor__XEAttachRender SetActived (bActived) end
 
function XEDummyActor__XEAttachRender IsActived () end
 
function XEDummyActor Tick (fDel, bForceTick) end
 
function XEDummyActor SetParam (pParam) end
 
function XEDummyActor Initialize (pWorld) end
 
function XEDummyActor Release () end
 
function XEDummyActor RayPick (hr) end
 
function XEDummyActor Attach (pRender) end
 
function XEDummyActor Dettach (pRender) end
 
function XEDummyActor DettachAll () end
 

Variables

 XEDummyActor = {}
 
 XEDummyActor__XEAttachRender = {}
 
XEDummyActor XEAttachRender = XEDummyActor__XEAttachRender
 

Function Documentation

◆ Attach()

function XEDummyActor Attach ( pRender  )

添加附加渲染对象

Parameters
pRenderXEDummyActor::XEAttachRender 要添加的渲染对象指针.
Returns
void

◆ Dettach()

function XEDummyActor Dettach ( pRender  )

移除附加渲染对象

Parameters
pRenderXEDummyActor::XEAttachRender 要移除的渲染对象指针.
Returns
void

◆ DettachAll()

function XEDummyActor DettachAll ( )

移除全部附加的渲染对象

Returns
void

◆ Initialize()

function XEDummyActor Initialize ( pWorld  )

初始化XEActor的基本信息,以及Actor的点选优先级

Parameters
pWorldXEWorld 表示当前Actor所处的世界对象指针.
Returns
void

◆ IsActived()

function XEDummyActor__XEAttachRender IsActived ( )

获取激活状态

Returns
boolean

◆ new()

function XEDummyActor__XEAttachRender new ( )

XEDummyActor_XEAttachRender_new00

Returns
XEDummyActor__XEAttachRender

XEDummyActor_new00

Returns
XEDummyActor

◆ RayPick()

function XEDummyActor RayPick ( hr  )

如果当前Actor有子组件,则支持拾取

Parameters
hrXEHitResult 表示拾取结果结构体.
Returns
boolean

◆ Release()

function XEDummyActor Release ( )

释放当前 XEActor 的根组件资源和扩展参数列表对象,与初始化的 Initialize 函数成对出现

Returns
void

◆ Render()

function XEDummyActor__XEAttachRender Render ( pViewport  )

渲染当前对象

Parameters
pViewportXEViewport 表示当前Actor所处的世界对象绑定的视口指针.
Returns
void

◆ SetActived()

function XEDummyActor__XEAttachRender SetActived ( bActived  )

设置激活状态

Parameters
bActivedboolean
Returns
void

◆ SetParam()

function XEDummyActor SetParam ( pParam  )

设置Render回调函数参数

Parameters
pParamuserdata 回调函数参数
Returns
void

◆ Tick() [1/2]

function XEDummyActor__XEAttachRender Tick ( fDel  )

更新当前对象

Parameters
fDelnumber 每帧更新的时间间隔
Returns
void

◆ Tick() [2/2]

function XEDummyActor Tick ( fDel  ,
bForceTick   
)

更新当前对象

Parameters
fDelnumber 每帧更新的时间间隔
bForceTickboolean
Returns
void

Variable Documentation

◆ XEAttachRender

◆ XEDummyActor

◆ XEDummyActor__XEAttachRender