m4m.framework.canvascontainer
@meta4d/engine / Exports / m4m / framework / canvascontainer
Class: canvascontainer
language
zh_CN
classdesc
UI画布容器组件
version
m4m 1.0
Implements
Table of contents
Accessors
Constructors
Properties
Methods
Accessors
canvas
• get
canvas(): canvas
language
zh_CN
classdesc
UI canvas
version
m4m 1.0
Returns
Defined in
framework/component/canvascontainer.ts:34
renderMode
• get
renderMode(): canvasRenderMode
language
zh_CN
classdesc
renderMode UI render模式
version
m4m 1.0
Returns
Defined in
framework/component/canvascontainer.ts:79
• set
renderMode(mode
): void
language
zh_CN
classdesc
renderMode UI render模式
version
m4m 1.0
Parameters
mode
Returns
void
Defined in
framework/component/canvascontainer.ts:80
sortOrder
• get
sortOrder(): number
Returns
number
Defined in
framework/component/canvascontainer.ts:52
• set
sortOrder(order
): void
Parameters
order
number
Returns
void
Defined in
framework/component/canvascontainer.ts:55
Constructors
constructor
• new canvascontainer()
Defined in
framework/component/canvascontainer.ts:15
Properties
gameObject
• gameObject: gameObject
language
zh_CN
classdesc
挂载的gameobject
version
m4m 1.0
Implementation of
Defined in
framework/component/canvascontainer.ts:25
ClassName
▪ Static
Readonly
ClassName: string
= "canvascontainer"
Defined in
framework/component/canvascontainer.ts:13
Methods
getOverLay
▸ getOverLay(): overlay2D
Returns
Defined in
framework/component/canvascontainer.ts:47
onPlay
▸ onPlay(): void
Returns
void
Implementation of
Defined in
framework/component/canvascontainer.ts:109
setOverLay
▸ setOverLay(lay
): void
Parameters
lay
Returns
void
Defined in
framework/component/canvascontainer.ts:42
start
▸ start(): void
Returns
void
Implementation of
Defined in
framework/component/canvascontainer.ts:104
update
▸ update(delta
): void
Parameters
delta
number
Returns
void
Implementation of
Defined in
Last updated