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

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

391. 性能测试-骨骼 [ 52%]

...LayaAirIDE让项目开发更高效。let mArmature, fileName = "Dragon", mTexturePath, mAniPath, rowCount = 10, colCount = 10, xOff = 50, yOff = 100, mSpacingX, mSpacingY, mAnimationArray = [], mFactory, mActionIndex = 0; class PerformanceTest_Skeleton { constructor() { const Browser = Laya.Browser,...

来源: Laya2.0_示例 发布时间: 20240930

392. laya.ui.UIGroup_API3.0 [ 52%]

...x selection skewX skewY skin space stage stateNum staticCache strokeColors texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance addItem bubbleEvent callLater clearTimer ...

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

393. laya.display.Input_API3.0 [ 52%]

...tage staticCache stroke strokeColor templateVars text textHeight textWidth texture timer transform type ubb underline underlineColor url valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setWidth addChild addChildAt addChildren addComponent addComponent...

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

394. Test类继承 Laya.Sprite 然后重写render方法,如何将一个RGBA图像绘制到画布里面 [ 52%]

...么,添加到舞台上?添加到舞台上可以用sprite.graphics.drawTexture,你传一个文理texture就可以显示到舞台上!如果回答的不对,你可以继续追问! 2017-02-16 0 3 分享 微博 QZONE 微信 157*****121 赞同来自: 都不知道你在问什么,描述清楚问...

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

395. laya.ui.TextInput_API3.0 [ 52%]

...kewY skin stage staticCache stroke strokeColor templateVars text textField texture timer toolTip top transform type ubb underline underlineColor url valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addC...

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

396. laya.ui.TextArea_API3.0 [ 52%]

...kewY skin stage staticCache stroke strokeColor templateVars text textField texture timer toolTip top transform type ubb underline underlineColor url vScrollBar vScrollBarSkin valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild a...

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

397. laya.ui.ColorPicker [ 52%]

...eCache方法手动刷新。Sprite tag : * 对象的标签。 UIComponent texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

398. laya.ui.Tree_API3.0 [ 52%]

...em selectedPath skewX skewY source spaceBottom spaceLeft stage staticCache texture timer toolTip top transform url viewport visible width x xml y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains cust...

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

399. 二进制图片(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 52%]

...]),null,Laya.Loader.IMAGE); } private showImg(url:string):void{ var t:Laya.Texture = Laya.loader.getRes(url); var ape:Laya.Sprite = new Laya.Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200,0); } ``` 第三种我们直接创建一个纹理来 ```typescript private com...

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

400. 其他引擎的Demo-Example_23 [ 52%]

...OWALL; Laya.stage.bgColor = "#232628"; Stat.show(); // create a background texture Laya.stage.loadImage("res/pixi/laserBG.jpg"); Laya.stage.frameLoop(1, this, this.animate); } animate() { const Sprite = Laya.Sprite, Point = Laya.Point; let laser; if (tick > frequency) { tick = 0; // iterate through ...

来源: Laya2.0_示例 发布时间: 20240930