大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0064 秒)
Laya3.0_api(672) Laya_社区(472) Laya2.0_api(357) laya_api(289) Laya_示例(150) Laya2.0_示例(112) Laya2.0_文档(98) Laya3.0_文档(9)
...r中也找到了intersects方法,不过用法好像不太一样,public function intersects(rect:Rectangle):Boolean 问题一:是不是也是这样去用?if(rectangleA.intersects(rectangleB)) 问题二:如果是这样去用,那么是不是每一个image对象都要创建一个相应...
来源: Laya_社区 发布时间: 20161202
...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface Inherited accessor Static method
来源: Laya3.0_api 发布时间: 20231115
...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
...me stopAll stopAllSound stopMusic stopSound Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...Render onPreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Inherited constructor Inherited property Inherited method Inherited accessor Class Class with type parameter Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...Render onPreRender onReset onStart onUpdate Legend Object literal Variable Function Type alias Inherited constructor Inherited property Inherited method Inherited accessor Class Class with type parameter Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...义库里只需要添加这样一个类即可:class Laya { public static function init(width:Number, height:Number, ... plugins):* { return null } } 这有点类似使用laya 原生js开发中的.d.ts文件,只是我们应该让这个laya类定义库尽量的小,满足编译的要求即可。...
来源: Laya_社区 发布时间: 20170321
...ss with type parameter Constructor Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...cker; import laya.utils.Handler; public class ColorPicker_Example { public function ColorPicker_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete))...
来源: Laya3.0_api 发布时间: 20231115
... ]; Laya.loader.create(resource, Laya.Handler.create(this, onLoadFinish)); function onLoadFinish() { //初始化3D场景 this.scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/TerrainScene/XunLongShi.ls")); //删除原始资源中包含的默认相机 var camera = this.scene.ge...
来源: Laya_示例 发布时间: 20260106