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

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

171. 物体的x,y输出不一致的问题 [ 71%]

...台上,后面我在另一个脚本Monster中(也是继承Laya.Sprite)通过使用以下代码获取player的位置时,发现输出的位置信息和我在Player中输出的位置信息不一致: var player :Player = Laya.stage.getChildAt(i) as Player; console.log(player.x); 附:在Player...

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

172. runTime使用(TypeScript-IDE篇(TS)-组件化开发相关) [ 71%]

...本方式,继承式页面类,可以直接使用页面定义的属性(通过IDE内var属性定义),比如this.tipLbll,this.scoreLbl,具有代码提示效果。而script脚本获取只能通过this.owner.getChildByName("xxx") 等方式获取节点** - **建议:如果是页面级的逻...

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

173. laya.ani.swf.MovieClip [ 71%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  basePath : String资源根目录。MovieClip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : S...

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

174. laya.d3.resource.TextureCube [ 71%]

...arams:Array = null):TextureCube[static] TextureCube generateMipmap():void 通过基础数据生成mipMap。 BaseTexture  load(url:String, complete:Handler):void[static] 加载TextureCube。 TextureCube  setSixSideImageSources(source:Array, premultiplyAlpha:Boolean = false):void 通过六张图...

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

175. laya.d3.core.light.DirectionLight [ 70%]

...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, ...

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

176. laya.utils.Byte [ 70%]

...放数据的两种不同顺序,包括小端字节序和大端字节序。通过 getSystemEndian 可以获取当前系统的字节序。 BIG_ENDIAN :大端字节序,地址低位存储值的高位,地址高位存储值的低位。有时也称之为网络字节序。 LITTLE_ENDIAN :小端字...

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

177. laya.d3.core.light.PointLight [ 70%]

...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, ...

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

178. laya.ui.Tab [ 70%]

...call。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽...

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

179. laya.d3.core.Sprite3D [ 70%]

...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, ...

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

180. laya.d3.core.light.SpotLight [ 70%]

...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, ...

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