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

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

171. laya.device.media.Video_API3.0 [ 61%]

...ierarchy Sprite Video Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name videoElement CAMERA MP4 OGG SUPPORT_MAYBY SUPPORT_NO SUPPORT_PROBABLY WEBM drawtocanvCtx Accessors active activeInHierarchy alpha blendMode buffered ca...

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

172. laya.ui.AdvImage_API3.0 [ 61%]

...rarchy Image AdvImage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSourc...

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

173. 2D性能优化 · LayaAir3.0文档 · LAYABOX [ 60%]

...有多种做法,而其间差异很有必要知道。 使用getBounds/ getGraphicBounds。 var sp=new Laya.Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); var bounds:Laya.Rectangle=sp.getGraphicBounds(); Laya.stage.addChild(sp); getBounds可以满足多数多数需求,但由于其需要计...

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

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

...,也包括我(!嘻嘻) var a: Laya.Sprite = new Laya.Sprite(); a.graphics.drawCircle(0, 0, 50, "#ff0000"); Laya.stage.addChild(a); a.size(100, 100); a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void {     console...

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