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

大约有 784 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0051 秒)

321. laya.d3.core.scene.Scene3D [ 73%]

...s MethodDefined By  Scene3D() 创建一个 Scene3D 实例。 Scene3D  _parse(data:Object, spriteMap:Object):void[override] Scene3D  _parse(data:*, propertyParams:Object = null, constructParams:Array = null):Scene3D[static] private Scene3D addChild(node:Node):Node 添加子节点。 Node add...

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

322. 绘制的直线如何修改它的位置,使它产生连续绕一个点旋转的效果 [ 73%]

...,使它产生连续绕一个点旋转的效果 this.gameView.sp.graphics._one[2] = x; this.gameView.sp.graphics._one[3] = y; 我这样写能实现,但是感觉不是正确的方法! IDE中有看到toX和toY属性,但是代码中不知如何获取 2018-02-23 添加评论 免费帖 --> 分享 ...

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

323. tween有这个一个bug [ 73%]

...1, null); this.SceneShareDark(); }); share.btSignUp.on('click',this, SignUp_Func); var timeLine = new Laya.TimeLine(); timeLine.addLabel("ZoomIn",0).to(share.btShare,{scaleX:0.9, scaleY:0.9},400,Laya.Tween.cubicOut,0) .addLabel("ZoomOut",0).to(share.btShare,{scaleX:1.0, scaleY:1.0},400,Laya.Tween.cu...

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

324. layaair2-cmd compile 一直报错loader.js:638 throw err; [ 73%]

...r: Cannot find module 'remove-trailing-separator'     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)     at Function.Module._load (internal/modules/cjs/loader.js:562:25)     at Module.require (internal/modules/cjs/loader.js:692:17)     at require (internal/module...

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

325. laya.display.cmd.DrawPieCmd_API3.0 [ 73%]

...neColor lineWidth radius x y ID endAngle startAngle getBoundPoints recover _tempPoints Legend Class Class with type parameter Property Method Accessor Object literal Variable Function Type alias Enumeration Interface Static property

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

326. list 数据不会及时渲染 [ 73%]

...rd(index:int,cardArr:Array):void{             var cardList:List = _homeSeceneView["myCard_"+index];             if(cardList){                 if(!cardList.visible){                     cardList.visible = true;                 }         ...

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

327. laya.filters.GlowFilter [ 73%]

... Public Properties Show Inherited Public Properties PropertyDefined By  _blurInof1_native : Float32ArrayGlowFilter  _blurInof2_native : Float32ArrayGlowFilter  _color_native : Float32ArrayGlowFilter _filter : Function[static] Filter  _sv_blurInfo1 : ArrayGlowFilter  _sv_blurInfo2 : Array...

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

328. 自定义渲染后,customRender里设置uniform值在ui节点下不生效 [ 73%]

...derContext,x:number,y:number):void{             if(this.shader._program)             {                 let u_lightTime = gl.getUniformLocation(this.shader._program, "u_lightTime")                 gl.uniform1f(u_lightTime, this.timerCount)   ...

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

329. 官方案例里摄像机绕物体旋转脚本的问题 [ 72%]

...有很多接口,属性不存在。比如this.camera.moveForward、 super._initialize(owner)、super._update(state)等,放在1.7版本里是有的。是不是LayaAir.d.ts有修改。现在有别的接口,方法替代吗,我在官方文档里找了好久都没找到。或者哪位大神能提...

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

330. 正交摄像机裁剪问题 [ 72%]

...0; //这个物体里摄像机更近 var sp = Laya.Sprite3D.load('res/01/mfs_01.lh'); scene.addChild(sp); sp.on(Laya.Event.HIERARCHY_LOADED, this, function(){ sp.transform.localPosition = new Laya.Vector3(1, 1, 1); var scale = 1; var v3 = sp.transform.localScale; v3.x = scale; v3.y = scale; v3.z = sc...

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