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

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

1411. laya.d3.core.particleshuriken.module.shape.SphereShape_API3.0 [ 49%]

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

1412. laya.d3.core.particleshuriken.module.shape.HemisphereShape_API3.0 [ 49%]

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

1413. Laya如何处理类与类之间的依赖关系 [ 49%]

... 在一个类中定义一个静态变量,并初始化为另一个类的实例或者是枚举成员。怎么处理依赖? 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

1414. laya.media.VideoNode_API3.0 [ 49%]

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

1415. laya.d3.core.particleshuriken.module.TextureSheetAnimation_API3.0 [ 49%]

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

1416. laya.maths.Matrix [ 49%]

...ne():Matrix 返回此 Matrix 对象的副本。 ReturnsMatrix — 与原始实例具有完全相同的属性的新 Matrix 实例。 concat()method  public function concat(matrix:Matrix):Matrix 将指定矩阵与当前矩阵连接,从而将这两个矩阵的几何效果有效地结合在一起。 ...

来源: Laya2.0_api 发布时间: 20190513

1417. dialog 里的数据已经获取到了,也赋值了但是页面没跟新,addChild好像无效果 [ 49%]

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

1418. laya.physics.js:430 Cannot read property 'GetType' of null [ 49%]

...的程序,但是报错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

1419. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 49%]

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

1420. iOS环境浏览器使用mask黑屏 [ 49%]

...器使用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