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

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

2601. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 39%]

...alse); Laya.loader.load(this.AllPng,new Laya.Handler(this,this.onCallBack),null,Laya.Loader.BUFFER); Laya.stage.on(Laya.Event.KEY_DOWN,this,this.onKey); //######################################################################## } private curStatus:boolean = false; private refreshCamera(){ this.curSt...

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

2602. laya.d3.core.scene.bvh.BVHSpatialBox_API3.0 [ 39%]

...oid Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:472 重算包围盒 null need Update by child contents need Update by List Returns void removeCell removeCell(cell: IBoundsCell): void Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:293 remove one Cell Parameters cell: IBoundsCell Returns vo...

来源: Laya3.0_api 发布时间: 20231115

2603. laya.d3.physics.CharacterController_API3.0 [ 38%]

...height: number = 0.1 角色脚步高度。 Default value upAxis: Vector3 = null 角色Up轴 Default value collisionGroup: number = Physics3DUtils.COLLISIONFILTERGROUP_DEFAULTFILTER 所属碰撞组。 Default value canCollideWith: number = Physics3DUtils.COLLISIONFILTERGROUP_ALLFILTER 可产生碰撞...

来源: Laya3.0_api 发布时间: 20231115

2604. unity 通过laya 导出 灵异事件 [ 38%]

...ou are still trying to access it. Your script should either check if it is null or you should not destroy the object. UnityEngine.Object.get_name () (at C:/buildslave/unity/build/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:189) n.a (UnityEngine.Mesh A_0, System.String A_1, System.Boolean ...

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

2605. Laya.Pool用法 [ 38%]

...static get instance(): ProtoPool {             if (this._instance == null) {                 this._instance = new ProtoPool();             }             return this._instance;         }     } } 2017-08-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

2606. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 38%]

...Handler.create(this, onAssetLoaded), loaderHandler.create(this, onLoading, null, false)); // 侦听加载失败     Laya.loader.on(Event.ERROR, this, onError);     this.moveover =true;     function onAssetLoaded(texture)     {         console.log("加载结束");       ...

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

2607. 路径显示会添加DrawCall,每增加一条路径都会添加,有什么办法降DrawCall [ 38%]

...rivate function OnShow():void { // TODO Auto Generated method stub if(pop==null){ pop = new TestDialogUI(); pop.btn_close.clickHandler = new Handler(this,function(){pop.parent.removeChild(pop);}); } this.addChild(pop); } private function StartMove(len:int):void { trace("[TestView.StartMove]") // TOD...

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

2608. 使用二进制图片 · LayaAir3.0文档 · LAYABOX [ 38%]

...ob对象,来获得HTMLImageElement对象 Laya.loader.fetch( "" ,"image", null, option).then((res)=>{ //创建Texture2D var t2d: Texture2D = new Texture2D(res.width, res.height, TextureFormat.R8G8B8A8, false, false, true); t2d.setImageData(res, true, false); //创建Texture var texture: Texture ...

来源: Laya3.0_文档 发布时间: 20230303

2609. [LayaAir3]3.3.0-beta.4已知新bug汇总 [ 38%]

... { if (typeof (complete) === "function") { progress = complete; complete = null; } if (typeof (param) === "function") complete = param; if (progress instanceof Handler) { let h = progress; progress = (value: number) => h.runWith(value); } // @ts-ignore return Scene._load(url, progress).then(scene...

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

2610. LayaAir引擎AS3与Flash原生AS3的开发差异(ActionScript-简介篇(AS3)-LayaAir引擎简介) [ 38%]

...用法示例:** **派发:** ``` 派发对象.event(type:String,data:*=null); ``` **监听:** ``` 派发对象.on(type,caller,listener,args); ``` ## 五、LayaAir与AS3的差异 在Flash AS3的原生API写法中可以直接继承Sprite,但是LayaAir引擎里主文档类入口(初始化引擎...

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