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

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

521. laya.display.Stage [ 54%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames StageProperties | Methods | Events | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台...

来源: laya_api 发布时间: 20170929

522. layaAir1.3.1版本SWF组件播放速度异常 [ 54%]

...ovieClip(); swf.load("data.swf"); swf.on(Event.LOADED,this,onLoaded); Laya.stage.addChild(swf); } private function onLoaded():void { // TODO Auto Generated method stub swf.interval=500; } } } 2016-09-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...

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

523. 谷歌浏览器 不触发 ROLL_OVER 事件 [ 54%]

...也正常 157*****121 • 2018-04-04 10:50 下载个5.0版本的谷歌,stage.on(Event.ROLL_OVER,this,function(){alert(22});一试便知。。 157*****121 • 2018-04-04 10:50 移动端

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

524. laya.ui.DialogManager_API3.0 [ 54%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...

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

525. laya.ani.swf.MovieClip_API3.0 [ 54%]

...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playing rotation scaleX scaleY scene scroll...

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

526. 射线一直无法获取物体 [ 54%]

...体         Laya.Physics.rayCast(ray, hit, 1000);     }     Laya.stage.on(Laya.Event.MOUSE_UP, this, function () {         var str = "";         if (!hit.sprite3D) {             str = "点击选取的几何体";         }else{             str = hit.sprite3D.name + " ...

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

527. 骨骼Label事件,多接收一次 [ 54%]

...ource.getSpineResource("ani/role/1/1.sk").buildArmature(1); Laya.stage.addChild(ske); let info:any = ske.templet.eventAniArr ske.x = 100; ske.y = 100; CUtil.Log(ske.getAniNameByIndex(0)) ske.play("atk",false) ske.on(Laya.Event.LABEL,this,function(e:any) { CUtil.Log("发动...

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

528. 关于使用matterjs物理引擎鼠标问题 [ 54%]

...鼠标直接调用了原始canva画布问题,当屏幕选择的时候是stage舞台进行了旋转,而使用matterjs的渲染是调用了randerjs文件是把刚渲染在了舞台上,原始画布没有进行选择,只是变化大小,因此matter的鼠标也没有旋转,造成找不到鼠...

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

529. laya.display.Sprite [ 54%]

...alogManager, GridSprite, MapLayer, MovieClip, Particle2D, Scene, Skeleton, Stage, Text, TileAniSprite, Video Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,...

来源: laya_api 发布时间: 20170929

530. 切换位图,点击图片距离容器的区域也会触发点击事件 [ 54%]

...switchImg(); img.on(Laya.Event.CLICK, this, switchImg) //点击事件 Laya.stage.addChild(img); function switchImg() { img.graphics.clear(); //清除绘制 var imgUrl = (this.flag = !this.flag) ? this.img1 : this.img2; img.loadImage(imgUrl, 100, 100) } }这是官方的切换位图的示例,但是...

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