大约有 872 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0077 秒)
Laya_社区(605) Laya2.0_文档(121) Laya3.0_文档(38) laya_api(38) Laya2.0_api(38) Laya3.0_api(14) Laya_示例(13) Laya2.0_示例(5)
...oid 创建并添加控件子节点。 UIComponent initialize():void 控件初始化。 UIComponent measureHeight():Number 显示对象的实际显示区域高度(以像素为单位)。 UIComponent measureWidth():Number 显示对象的实际显示区域宽度(以像素为单位)。 UICompo...
来源: Laya2.0_api 发布时间: 20190513
...r; import laya.webgl.WebGL; public class Main { public function Main() { //初始化舞台 Laya.init(1334,750,WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //原始位图 createImg(100,50); //发光滤镜 creteGlowFilter(); //阴影滤镜 createShadeFilter(); } /**创建发光滤...
来源: Laya2.0_文档 发布时间: 20210715
... Laya.stage.designWidth = 1080; Laya.stage.designHeight = 1920; //在引擎初始化之后改变舞台设置的话,必须要手动调用一次updateCanvasSize方法,否则不会生效 Laya.stage.updateCanvasSize(); } } 1.7 画布宽高 众所周知,<canvas>是HTML5中的画布,其 widt...
来源: Laya3.0_文档 发布时间: 20251010
...oid 创建并添加控件子节点。 UIComponent initialize():void 控件初始化。 UIComponent measureHeight():Number 显示对象的实际显示区域高度(以像素为单位)。 UIComponent measureWidth():Number 显示对象的实际显示区域宽度(以像素为单位)。 UICompo...
来源: Laya2.0_api 发布时间: 20190513
...aya.Scene; this._outHitAllInfo = new Array<Laya.RaycastHit>(); //初始化照相机 this.camera = scene.addChild(new Laya.Camera(0, 0.1, 100)) as Laya.Camera; this.camera.transform.translate(new Laya.Vector3(0, 2, 5)); this.camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false);...
来源: Laya_社区 发布时间: 20180820
...:void 创建并添加控件子节点。 Component initialize():void 控件初始化。 Component onCompResize():void 父容器的 Event.RESIZE 事件侦听处理函数。 Component preinitialize():void 预初始化。 Component resetLayoutX():void 重置对象的 X 轴(水平方向)布局。...
来源: laya_api 发布时间: 20170929
...:void 创建并添加控件子节点。 Component initialize():void 控件初始化。 Component onCompResize():void 父容器的 Event.RESIZE 事件侦听处理函数。 Component preinitialize():void 预初始化。 Component resetLayoutX():void 重置对象的 X 轴(水平方向)布局。...
来源: laya_api 发布时间: 20170929
...:void 创建并添加控件子节点。 Component initialize():void 控件初始化。 Component onCompResize():void 父容器的 Event.RESIZE 事件侦听处理函数。 Component preinitialize():void 预初始化。 Component resetLayoutX():void 重置对象的 X 轴(水平方向)布局。...
来源: laya_api 发布时间: 20170929
...oid 创建并添加控件子节点。 UIComponent initialize():void 控件初始化。 UIComponent measureHeight():Number 显示对象的实际显示区域高度(以像素为单位)。 UIComponent measureWidth():Number 显示对象的实际显示区域宽度(以像素为单位)。 UICompo...
来源: Laya2.0_api 发布时间: 20190513
...oid 创建并添加控件子节点。 UIComponent initialize():void 控件初始化。 UIComponent measureHeight():Number 显示对象的实际显示区域高度(以像素为单位)。 UIComponent measureWidth():Number 显示对象的实际显示区域宽度(以像素为单位)。 UICompo...
来源: Laya2.0_api 发布时间: 20190513