大约有 284 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0072 秒)
...) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 创建动效模板 可能存在bug 版本不匹配! 全局 tsc (2.7.1) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 Laya.Panel的子节点在(0,0)点有可能不显示的问题 可能有个昵称...
来源: Laya_社区 发布时间: 20181213
...题解决了没啊? 如果子弹 上绑定钢体与碰撞器。快速创建子弹 与移除 就可能会有这个问题。 Uncaught TypeError: Cannot read property 'GetType' of null at box2d.b2Fixture.GetType (libs/laya.physics.js:430) at box2d.b2ContactFactory.Create (libs/laya.p...
来源: Laya_社区 发布时间: 20190407
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: laya_api 发布时间: 20170929
...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisabl...
来源: Laya3.0_api 发布时间: 20231115
...ructor Defined in laya/d3/physics/constraints/ConfigurableConstraint.ts:80 创建一个ConfigurableConstraint实例 可设置的约束组件 Returns ConfigurableConstraint Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Op...
来源: Laya3.0_api 发布时间: 20231115
...ited from Component.constructor Defined in laya/components/Component.ts:44 创建一个新的 Component 实例。 Returns RigidBody Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean = ...
来源: Laya3.0_api 发布时间: 20231115
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: laya_api 发布时间: 20170929
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: laya_api 发布时间: 20170929
...机性 this.maxRight = 852 - 32 * 2 - 32 * parseInt(10 * Math.random()); //创建一个帧循环处理函数 // Laya.timer.frameLoop(1, this, this.onLoop); } //在地板上面添加物品 _proto.addItem = function(){ } //获取当前地板上面的所有物品 _proto.getItems = function(){ return ; ...
来源: Laya_社区 发布时间: 20160801
...",其他UI组件均不支持异步加载。 example 以下示例代码,创建了一个新的 Image 实例,设置了它的皮肤、位置信息,并添加到舞台上。 package { import laya.ui.Image; public class Image_Example { public function Image_Example() { Laya.init(640, 800);//设置...
来源: Laya3.0_api 发布时间: 20231115