大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0126 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...
来源: Laya3.0_api 发布时间: 20231115
...** @author Charley */ public class HelloLayabox { public function HelloLayabox() { //创建舞台,默认背景色是黑色的 Laya.init(600, 300); var txt:Text = new Text(); //设置文本内容 txt.text = "Hello Layabox"; ...
来源: Laya2.0_文档 发布时间: 20210715
...(ret); conch.postAsyncMessage("asyncMessage", "asyncMessage from js").then(function (data) { alert(data); }) 1.2 在原生端中主动执行JS端脚本 iOS/OC执行JS脚本: [[conchRuntime GetIOSConchRuntime] runJS:@"alert('hello')"]; Android/Java执行JS脚本: ConchJNI.RunJS("alert('hello worl...
来源: Laya3.0_文档 发布时间: 20260122
...quot;13:00",news:"呵呵哒z7,哈哈哈漂亮"}, ] public function ChatWindowView(){ chatSetup(); expressionSetup(); } private function chatSetup():void{ chatList.vScrollBarSkin=null; chatList.selectEnable=true; chatList.scrollBar.elasticBackTime = 150; chatList.scrollBar.elasticDis...
来源: Laya_社区 发布时间: 20180319
... private var sp:Sprite; public function Sprite_DrawShapes() { Laya.init(500, 300, WebGL); drawSomething(); } private function drawSomething():void ...
来源: Laya2.0_文档 发布时间: 20210714
...有进行缩放) 按照官网的示例写了一个demo,代码如下 (function() { Laya.MiniAdpter.init(); // 不支持WebGL时自动切换至Canvas Laya.init(750, 1334, Laya.WebGL); //设置适配模式 Laya.stage.scaleMode = "exactfit"; //...
来源: Laya_社区 发布时间: 20180604
...ebgl.WebGL; public class Sprite_DrawShapes { private var sp:Sprite; public function Sprite_DrawShapes() { // 不支持WebGL时自动切换至Canvas Laya.init(740, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage...
来源: Laya2.0_示例 发布时间: 20260303
...Space/LayaTest2_5/LayaTest2_5/bin/libs/laya.physics3D.js:305:118) at Function.Laya3D.init (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/libs/laya.d3.js:14694:4) at new Test (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/js/bundle.js:14:16) ...
来源: Laya_社区 发布时间: 20181228
...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...
来源: Laya3.0_api 发布时间: 20231115
...a.d3.js:18192 Uncaught TypeError: Cannot read property '0' of undefined at Function.Utils3D._mulMatrixArray (laya.d3.js:18192) at SkinnedMeshRender.__proto._renderUpdate (laya.d3.js:37732) at Function.FrustumCulling.renderObjectCulling (laya.d3.js:6487) at Scene.__proto._preRenderScene (laya.d3.js:2...
来源: Laya_社区 发布时间: 20180724