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

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

201. viewport 的用法 [ 79%]

...ite;   var HitArea = Laya.HitArea;   var Graphic = Laya.Graphics;   var Event   = Laya.Event;   var Layer = Laya.Layer;   var Rectangle = Laya.Rectangle;   function layaSlot(info){       layaSlot.__super.call(this);       this.size(200,200);       this.graphics.drawRect(0,0,200,200,'...

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

202. laya.ui.Tree_API3.0 [ 79%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event filter frameLoop frameOnce fresh freshLayout fromParentPoint getBounds getChildAt getChildByName getChi...

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

203. laya.ui.HSlider_API3.0 [ 79%]

...in addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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

204. laya.ui.VSlider_API3.0 [ 79%]

...in addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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

205. laya.media.SoundChannel [ 79%]

...ds Packagelaya.mediaClasspublic class SoundChannelInheritanceSoundChannel EventDispatcher Object SoundChannel 用来控制程序中的声音。每个声音均分配给一个声道,而且应用程序可以具有混合在一起的多个声道。 SoundChannel 类包含控制声音的播放、暂停...

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

206. Animation创建和销毁的问题 [ 79%]

.../初始化引擎 Laya.init(1136, 640,WebGL); trace("ok..."); Laya.stage.on(Event.KEY_DOWN, this, this.onKeydown); } private function onKeydown(event:Event):void { var self:* = this; if(event.keyCode === Keyboard.SPACE) { //移除动画 if(testAnim1) { testAnim1.clear(); testAnim1.removeSelf(); testA...

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

207. laya.ui.ProgressBar_API3.0 [ 79%]

...in addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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

208. laya.d3.core.trail.TrailRenderer [ 79%]

...re.trailClasspublic class TrailRendererInheritanceTrailRenderer BaseRender EventDispatcher Object TrailRenderer 类用于创建拖尾渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bounds : Bounds[read-only] 获取包围盒,只读...

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

209. LayaAir能做RPG吗?不要问我能不能,因我已经在做 - 杀意来袭 [ 79%]

...; a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console.log("touch a"); } 因需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指...

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

210. laya.ui.Label_API3.0 [ 79%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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