大约有 1,801 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0069 秒)
Laya_社区(851) Laya3.0_api(323) Laya2.0_api(248) laya_api(179) Laya2.0_文档(142) Laya3.0_文档(52) Laya2.0_示例(4) Laya_示例(2)
...e/particleShuriKen/module/shape/SphereShape.ts:14 创建一个 SphereShape 实例。 Returns SphereShape Properties emitFromShell emitFromShell: boolean Defined in laya/d3/core/particleShuriKen/module/shape/SphereShape.ts:14 从外壳发射。 enable enable: boolean = true Inherited from BaseShape.e...
来源: Laya3.0_api 发布时间: 20231115
...leShuriKen/module/shape/HemisphereShape.ts:15 创建一个 HemisphereShape 实例。 Returns HemisphereShape Properties emitFromShell emitFromShell: boolean Defined in laya/d3/core/particleShuriKen/module/shape/HemisphereShape.ts:15 从外壳发射。 enable enable: boolean = true Inherited from Bas...
来源: Laya3.0_api 发布时间: 20231115
... 在一个类中定义一个静态变量,并初始化为另一个类的实例或者是枚举成员。怎么处理依赖? enum LogLevelEnum{ ALL = -0xFFFFFFFF, TRACE = 0, DEBUG = 200, INFO = 400, WARN = 600, ERROR = 800, FATAL = 1000, OFF = 0xFFFFFFFF }class Logger { public static logLevel: numbe...
来源: Laya_社区 发布时间: 20171107
...from Node.components Defined in laya/display/Node.ts:983 返回所有组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 currentSrc get currentSrc(): string Defined in laya/media/VideoNode.ts:154 获取当前播放源路径。 Returns string currentTime get currentTime...
来源: Laya3.0_api 发布时间: 20231115
...iKen/module/TextureSheetAnimation.ts:38 创建一个 TextureSheetAnimation 实例。 Parameters frame: FrameOverTime 动画帧。 startFrame: StartFrame 开始帧。 Returns TextureSheetAnimation Properties cycles cycles: number = 0 Defined in laya/d3/core/particleShuriKen/module/TextureSheetAnimati...
来源: Laya3.0_api 发布时间: 20231115
...ne():Matrix 返回此 Matrix 对象的副本。 ReturnsMatrix — 与原始实例具有完全相同的属性的新 Matrix 实例。 concat()method public function concat(matrix:Matrix):Matrix 将指定矩阵与当前矩阵连接,从而将这两个矩阵的几何效果有效地结合在一起。 ...
来源: Laya2.0_api 发布时间: 20190513
...g(_super); console.log(fooddata); self.foodList.dataSource = fooddata; //实例化角色容器 var foodBox = new Laya.Sprite(); //添加到舞台上 console.log(self.foodBox); Laya.stage.addChild(foodBox); self.foodBox = fooddata; console.log(self.foodBox); 2018-12-21 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20181221
...的程序,但是报错Cannot read property 'USER_DATA_PATH' of undefined 实例碰撞体报错,Cannot read property 'btSphereShape' of undefined Cannot read property 'events' of undefined Cannot read property '_getBit' of undefined 加载unity5.6.1导出来的场景提示Cannot read property 'ch...
来源: Laya_社区 发布时间: 20190912
...入口 Laya.init(600, 400); this.onLoaded() function onLoaded(): void { //实例UI界面 var testUI: FishPonds = new FishPonds(); Laya.stage.addChild(testUI); Laya.timer.loop(1000, this, function () { testUI.rotation = 360 console.log("rotation!" + testUI.rotation); }); } 附件 : --> hitTestPoint.z...
来源: Laya_社区 发布时间: 20180315
...器使用mask黑屏 重现步骤:1. 使用ide 2.2.0以上的版本编译实例项目,这里用的2.3版本,在GameControl onEnable中执行如下代码:private _sp = new Laya.Sprite(); private _testMask() { this._sp.graphics.clear(); this._sp.graphics.drawCircle(100, 100, 50, '#ffffff'); Lay...
来源: Laya_社区 发布时间: 20191215