大约有 291 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0084 秒)
Laya2.0_api(81) Laya3.0_api(81) laya_api(62) Laya_社区(59) Laya3.0_文档(4) Laya2.0_文档(3) Laya2.0_示例(1)
...y接口,可以通过unDestroyedScenes属性查看还未被销毁的场景列表 Hierarchy Sprite Scene View Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScene...
来源: Laya3.0_api 发布时间: 20231115
...。UIComponent displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : B...
来源: Laya2.0_api 发布时间: 20190513
...文本边框颜色。 Laya.stage.addChild(text);//将 text 添加到显示列表。 } } } example Text_Example(); function Text_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } function onInit() {...
来源: Laya3.0_api 发布时间: 20231115
...器。 Laya.stage.addChild(progressBar);//将 progressBar 添加到显示列表。 Laya.timer.once(3000, this, changeValue);//设定 3000ms(毫秒)后,执行函数changeValue。 } private function changeValue():void { trace("改变进度条的进度值。"); progressBar.value = 0.6; } private ...
来源: Laya3.0_api 发布时间: 20231115
...理器。 Laya.stage.addChild(button);//将此 button 对象添加到显示列表。 } private function onClickButton(button:Button):void { trace("button.selected = "+ button.selected); } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//...
来源: Laya3.0_api 发布时间: 20231115
...化处理器。 Laya.stage.addChild(hSlider);//把 hSlider 添加到显示列表。 } private function onChange(value:Number):void { trace("滑块的位置: value=" + value); } } } example Laya.init(640, 800, "canvas");//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = "#efefef";//设...
来源: Laya3.0_api 发布时间: 20231115
...化处理器。 Laya.stage.addChild(vSlider);//把 vSlider 添加到显示列表。 } private function onChange(value:Number):void { trace("滑块的位置: value=" + value); } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 v...
来源: Laya3.0_api 发布时间: 20231115
...使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : Bo...
来源: Laya2.0_api 发布时间: 20190513
....displayedInStage Defined in laya/display/Node.ts:483 表示是否在显示列表中显示。 Returns boolean hideFlags get hideFlags(): number set hideFlags(value: number): void Inherited from Node.hideFlags Defined in laya/display/Node.ts:78 Returns number Inherited from Node.hideFlags Defined in ...
来源: Laya3.0_api 发布时间: 20231115
...理器。 Laya.stage.addChild(radioGroup);//将 radioGroup 添加到显示列表。 } private function onSelect(index:int):void { trace("当前选择的单选按钮索引: index= ", index); } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = "#efefef";//...
来源: Laya3.0_api 发布时间: 20231115