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

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

661. 在2.0里如何调用在编辑模式下创建的对话框 [ 71%]

...":"25,5,5,5","height":480}, "nodeParent":1, "label":"Image", "isDirectory":false, "isAniNode":true, "hasChild":false, "compId":3, "child":[ ] }], "animations":[ { "nodes":[ ], "name":"ani1", "id":1, "frameRate":24, "action":0 }] } 2019-01-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

662. Transform3D::pivot移到哪里了吗?现在Sprite3D该怎样设置描点呢? [ 71%]

...层级设置无效的问题 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 anchor锚点设置不生效 一个动画如何设置绕自身中心点旋转,我这么设置_ani.pivot(_ani.width/2,_ani.height/2);不行,而且也没有锚点...

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

663. 3D两个平面拼接的贴图直接会有明显的接缝 [ 71%]

...性采样的原因的,2D的纹理可以使用Texture.isLinearSampling = false;来关闭线性采样,3d的纹理怎么关闭,下面是单个平面的创建代码   var plane: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(1 , 1, 1, 1))) as Laya.MeshSprite3D; plane.transform.position ...

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

664. 用正则的方式检验打成APP会有问题 [ 71%]

...!=""){                         if(pat.test(param[i][1])==false)                            {                                trace(param[i][1]);                             Constant.helper.times=true;           ...

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

665. laya.d3.core.Transform3D [ 71%]

... EventDispatcher  lookAt(target:Vector3, up:Vector3, isLocal:Boolean = false):void 观察目标位置。 Transform3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):...

来源: laya_api 发布时间: 20170929

666. LookAt又出bug了,官方赶紧看看是不是代码合漏了 [ 71%]

...tChildAt(0).getChildByName("B").transform.position,new Laya.Vector3(0,1,0),false,false)  指向错误   下面两句修正方向 Laya.stage.getChildAt(0).getChildByName("A").transform.rotation.invert(Laya.stage.getChildAt(0).getChildByName("A").transform.rotation) Laya.stage.getChildAt(0).getChild...

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

667. laya.d3.core.light.LightSprite [ 71%]

...Node  color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node  diffuseColor : Vector3 获取灯光的漫反射颜色。 LightSprite displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Nod...

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

668. laya.map.MapLayer_API3.0 [ 71%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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

669. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 71%]

...向 this.layaMonkey.transform.lookAt(this._tarPosition, this._upVector3, false); //因为资源规格,这里需要旋转180度 this.layaMonkey.transform.rotate(this._rotation2, false, false); //调整位置 Tween.to(this._finalPosition, { x: this._position.x, y: this._position.y, z: this._position...

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

670. laya.display.Input_API3.0 [ 71%]

...ype declaration (): void Returns void _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _parseEscapeChars _parseEscapeChars: boolean Inherited from Text._parseEscapeChars Defined in laya/display/Text.ts:202 是否将字符串中的\n,\t...

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