• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0126 秒)

2281. laya.display.Input_API3.0 [ 60%]

...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

2282. FlashDevelop中第一个程序“Hello Layabox”(ActionScript-LayaAir基础篇(AS3)-快速上手) [ 60%]

...** @author Charley */     public class HelloLayabox {   public function HelloLayabox() {    //创建舞台,默认背景色是黑色的    Laya.init(600, 300);    var txt:Text = new Text();         //设置文本内容    txt.text = "Hello Layabox";     ...

来源: Laya2.0_文档 发布时间: 20210715

2283. 原生语言与JS通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 60%]

...(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

2284. 在list的data中给HTMLDIVElement 的innerHTML赋值不成功 [ 60%]

...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

2285. 绘制曲线(ActionScript-LayaAir基础篇(AS3)-矢量图) [ 60%]

...  private var sp:Sprite;                    public function Sprite_DrawShapes()         {             Laya.init(500, 300, WebGL);             drawSomething();         }            private function drawSomething():void   ...

来源: Laya2.0_文档 发布时间: 20210714

2286. 微信小游戏中iPhoneX的适配问题 [ 60%]

...有进行缩放) 按照官网的示例写了一个demo,代码如下  (function() {     Laya.MiniAdpter.init();     // 不支持WebGL时自动切换至Canvas     Laya.init(750, 1334, Laya.WebGL);     //设置适配模式     Laya.stage.scaleMode = "exactfit";     //...

来源: Laya_社区 发布时间: 20180604

2287. Sprite-绘制各种形状 [ 60%]

...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

2288. [2.0beta5]引入场景报错 [ 60%]

...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

2289. laya.d3.core.material.PBRStandardMaterial_API3.0 [ 60%]

...建 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

2290. 加载 unity3D导入的旧版蒙皮动画时出现错误 [ 60%]

...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