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

Functions

function XE2DRectangleComponent new () end
 
function XE2DRectangleComponent Release () end
 
function XE2DRectangleComponent Render (pViewport) end
 
function XE2DRectangleComponent GetXRelative () end
 
function XE2DRectangleComponent GetYRelative () end
 
function XE2DRectangleComponent GetWRelative () end
 
function XE2DRectangleComponent GetHRelative () end
 

Variables

 XE2DRectangleComponent = {}
 

Function Documentation

◆ GetHRelative()

function XE2DRectangleComponent GetHRelative ( )

绘制内容高度的相对比例

Returns
number

◆ GetWRelative()

function XE2DRectangleComponent GetWRelative ( )

绘制内容宽度的相对比例

Returns
number

◆ GetXRelative()

function XE2DRectangleComponent GetXRelative ( )

绘制内容起始点x的相对比例

Returns
number

◆ GetYRelative()

function XE2DRectangleComponent GetYRelative ( )

绘制内容起始点y的相对比例

Returns
number

◆ new()

function XE2DRectangleComponent new ( )

XE2DRectangleComponent_new00

Returns
XE2DRectangleComponent

◆ Release()

function XE2DRectangleComponent Release ( )

释放资源

Returns
void

◆ Render()

function XE2DRectangleComponent Render ( pViewport  )

渲染当前组件,此函数每帧都会被 XEActor 调用

Parameters
pViewportXEViewport
Returns
void

Variable Documentation

◆ XE2DRectangleComponent