大约有 3,603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0076 秒)
Laya_社区(2675) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya3.0_文档(97) Laya_示例(83) Laya2.0_示例(45)
... new Camera(0, 0.1, 100) //移动相机,设置相机的向z轴移动 3。true代表是局部坐标,false是相对世界坐标。 camera.transform.translate(new Vector3(0, 0, 3),false); //加载到场景 scene.addChild(camera); ``` 旋转摄像机: ```typescript //旋转相机。局部坐...
来源: Laya2.0_文档 发布时间: 20210715
...种开发语言、LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transfor...
来源: Laya_示例 发布时间: 20251209
...nderingContext): void { WebGLContext.setBlendFunc(gl, gl.ONE, gl.DST_ALPHA,true); } 替换为: static BlendAdd(gl: WebGLRenderingContext): void { WebGLContext.setBlendFunc(gl, gl.ONE, gl.ONE,true); } 非源码版在laya.core.js里找到 static BlendAdd(gl) { WebGLContext.setBlendFunc(gl, g...
来源: Laya_社区 发布时间: 20200917
...how Inherited Public Properties PropertyDefined By addMode : Boolean = true叠加模式。CameraAnimations currentAnimationClipIndex : int[read-only] 获取播放器的动画索引。 KeyframeAnimations currentFrameIndex : int[read-only] 获取播放器帧数。 KeyframeAnimations destroyed :...
来源: laya_api 发布时间: 20170603
...ting colorComponentInter : Boolean = falsefalse代表RGBA整体插值,true代表RGBA逐分量插值ParticleSetting disableColor : Boolean = falsefalse代表使用参数颜色数据,true代表使用原图颜色数据ParticleSetting duration : Number = 1粒子持续时间(单位:秒)Par...
来源: Laya2.0_api 发布时间: 20190513
...) ; } function onWalk(dir){ switch(dir){ case "up": hero_p1.roleAni.play(0,true,"p1_walk_up"); Laya.stage.addChild(hero_p1.roleAni); break ; case "down": hero_p1.roleAni.play(0,true,"p1_walk_down"); Laya.stage.addChild(hero_p1.roleAni); break ; case "left": hero_p1.roleAni.play(0,true,"p1_walk_left"...
来源: Laya_社区 发布时间: 20180331
...个能不能支持可扩展吧 Object.defineProperty(o,name,{configurable:true,get:getfn,set:setfn,enumerable:false}); 比方说加上configurable:true这个字段 让开发者自己可以 去扩展getset函数啊 现在没有这个字段的话 开发者没办法重写getset函数 手动修改源码...
来源: Laya_社区 发布时间: 20170326
...管有没有再调用close,dialog的destroyed 都为false,isPopup都为true。 有什么属性可以知道这个dialog是否已关闭? 2017-04-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying ...
来源: Laya_社区 发布时间: 20170419
...}; } this.sList.dataSource = data;//批量赋值 this.sList.selectEnable = true;//列表项是否可选 // this.sList.selectHandler = Laya.Handler.create(this,this.onSelect,null,false); this.sList.mouseHandler = new Laya.Handler(this,this.onMouse);//鼠标事件响应 } Laya.class(ServerListView,"Se...
来源: Laya_社区 发布时间: 20170805
...带 private onLoop(){ if(this.WheelList.visible==true) { this.WheelList.set_visible(false); this.WheelList2.set_visible(true); this.WheelList.scrollBar....
来源: Laya_社区 发布时间: 20201025