大约有 456 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0084 秒)
Laya_社区(249) Laya3.0_api(63) Laya2.0_api(58) laya_api(54) Laya2.0_示例(14) Laya2.0_文档(8) Laya_示例(7) Laya3.0_文档(3)
...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_示例 发布时间: 20241118
...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
...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
...么,添加到舞台上?添加到舞台上可以用sprite.graphics.drawTexture,你传一个文理texture就可以显示到舞台上!如果回答的不对,你可以继续追问! 2017-02-16 0 3 分享 微博 QZONE 微信 157*****121 赞同来自: 都不知道你在问什么,描述清楚问...
来源: Laya_社区 发布时间: 20170216
...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
...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
...eCache方法手动刷新。Sprite tag : * 对象的标签。 UIComponent texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
...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
...]),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
...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_示例 发布时间: 20241118