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

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

461. 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 [ 67%]

... TypeError: Cannot read property 'width' of null     at Function.Texture._create (laya.core.js:15946)     at Texture.__proto._onLoaded (laya.core.js:15750)     at EventHandler.__proto.runWith (laya.core.js:1410)     at ResInfo.__proto.event (laya.core.js:1166)     at LoaderManager.__proto....

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

462. TextInput TextArea 获取当前有多少行? [ 67%]

...被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cry_11858 相关问题 请问有没有方法能够获取“鼠标是否处于按下状态”? Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? Laya2.6.0beta 物理引擎 刚体碰撞点位置...

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

463. 动画播放完回调函数内,物体的坐标轴错乱 [ 67%]

...回调函数内,物体的坐标轴错乱 我在动画播放完的函数_ani.on(Event.STOPPED,this,ruturnRoad)的ruturnRoad方法内移动一个已经创建好的物体,发现这个物体的坐标轴错乱,原来X轴变为Z轴,原来Z轴变为X轴,物体坐标原来的坐标也改变了 201...

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

464. Canvas模式下不报错,WebGL模式下运行时报错 [ 67%]

...Context2D.fileRect()方法,具体行见截图   RenderContext类:this._drawRect=function(x,y,args){                 var ctx=this.ctx;                 if (args[4] !=null){                     ctx.fillStyle=args[4];                     ctx.fil...

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

465. 一个简单的跑酷曲面shader分享 [ 67%]

...lass CurveBlinnPhong extends Laya.BlinnPhongMaterial { public readonly MAIN_TEX: number = Laya.Shader3D.propertyNameToID("u_MainTex"); public readonly X_OFFSET: number = Laya.Shader3D.propertyNameToID("u_XOffset"); public readonly Y_OFFSET: number = Laya.Shader3D.propertyNameToID("u_YOffset"); publi...

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

466. laya.maths.Quaternion_API3.0 [ 67%]

...t rotationMatrix slerp TEMPVector30 TEMPVector31 TEMPVector32 TEMPVector33 _tempMatrix3x3 Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Static property Static method Enumeration Interface

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

467. laya.ui.AdvImage [ 67%]

...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...

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

468. laya.ui.Clip [ 67%]

...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...

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

469. [LayaAir3]V3.2 | 调试结果不一致,导致无法判断结果? [ 67%]

... window.camera = this.camera;     console.log("Game start", this.camera._up);     console.log(       "Game start",       this.camera._up.x,       this.camera._up.y,       this.camera._up.z     );   } } 附件 : --> testProject.zip 2024-10-29 添加评论 免费帖 --> 分享 微...

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

470. laya.resource.NativeRenderTexture2D_API3.0 [ 67%]

...xture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthStencilTexture destroyedImmediately lock name url uuid DEBUG defuv flipyuv Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture depthStencilFormat destroyed dimensio...

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