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

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

211. laya.ani.swf.MovieClip_API3.0 [ 78%]

...nterval loop mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalSc...

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

212. 缓动-缓动函数演示 [ 78%]

...); } function createDurationCrontroller() { var durationInput = createInputWidthLabel("Duration:", '2000', 400, 10); durationInput.on(Event.INPUT, this, function() { duration = parseInt(durationInput.text); }); } function createInputWidthLabel(label, prompt, x, y) { var text = new Text(); text.text ...

来源: Laya_示例 发布时间: 20250313

213. 新人求教!!! [ 78%]

...ics.drawTexture(texture);   //设置纹理宽高   this.img.size(texture.width, texture.height); <!--  我想把加粗部分换成  this.img.graphics.drawTexture(Laya.loader.getRes(imgUrl),100,50,60,60);   为什么就不起作用了,switchImg()只执行了一次,不能实现切换图片 ...

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

214. laya中的截屏在WebGL下为什么无效呢? [ 78%]

... https://ask.layabox.com/question/4150例子中 如果 Laya.init(Browser.width, Browser.height,WebGL);截屏是无效的。如果 Laya.init(Browser.width, Browser.height);才能截屏成功。 那如何在 Laya.init(Browser.width, Browser.height,WebGL)截屏成功呢?

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

215. 设置滤镜(JavaScript-LayaAir基础篇(JS)-位图) [ 78%]

...tion() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(ApePath, Handler.create(t...

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

216. laya.device.media.Video_API3.0 [ 78%]

...s currentSrc currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended error filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY muted numChildren parent paused pivotX ...

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

217. 设置cacheAs = bitmap时, drawCanvas 的一个bug [ 78%]

...awCanvas 的一个bug drawCanvas(canvas: HTMLCanvas, x: number, y: number, width: number, height: number): void { if (!canvas) return; var src: Context = canvas.context as Context; var submit: ISubmit; if (src._targets) { //生成渲染结果到src._targets上 /* this._submits[this._submits._length+...

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

218. laya.ui.Panel [ 78%]

...d-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴...

来源: laya_api 发布时间: 20170929

219. laya.ui.Panel_API3.0 [ 78%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components content customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCall...

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

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

...enderOrder = tJsonData.renderorder;             _mapW = tJsonData.width;             _mapH = tJsonData.height;                          _mapTileW = tJsonData.tilewidth;             _mapTileH = tJsonData.tileheight;                        ...

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