大约有 2,258 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0108 秒)
Laya_社区(1808) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(28) Laya2.0_示例(15)
...(runGame); var sp = new laya.display.Sprite(); sp.x = 100; sp.y = 100; var texture = Laya.loader.getRes('player/chara_01.png'); sp.graphics.drawTexture(texture, 0, 0, 96, 96); Laya.stage.addChild(sp); console.log(texture); } 这里大家可能有疑问 为什么路径地址是”player/chara_01.png...
来源: Laya_社区 发布时间: 20160801
...]),null,Loader.IMAGE); } private function showImg(url:String):void { var t:Texture = Laya.loader.getRes(url); var ape:Sprite = new Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200, 0); } ``` 第三种我们直接创建一个纹理来 ```java private function completeH...
来源: Laya2.0_文档 发布时间: 20210714
... scrollSize showButtons sizeGrid skewX skewY skin stage staticCache target texture thumbPercent tick timer toolTip top touchScrollEnable transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance...
来源: Laya3.0_api 发布时间: 20231115
... scrollSize showButtons sizeGrid skewX skewY skin stage staticCache target texture thumbPercent tick timer toolTip top touchScrollEnable transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance...
来源: Laya3.0_api 发布时间: 20231115
...de scaleX scaleY scene screenMode scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy...
来源: Laya3.0_api 发布时间: 20231115
...selected sizeGrid skewX skewY skin stage stateNum staticCache strokeColors texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLate...
来源: Laya3.0_api 发布时间: 20231115
...selected sizeGrid skewX skewY skin stage stateNum staticCache strokeColors texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLate...
来源: Laya3.0_api 发布时间: 20231115
...X scaleY scene scrollRect selectedColor skewX skewY skin stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains cu...
来源: Laya3.0_api 发布时间: 20231115
...scaleX scaleY scene scrollRect sizeGrid skewX skewY skin stage staticCache texture timer toolTip top transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer co...
来源: Laya3.0_api 发布时间: 20231115
...selected sizeGrid skewX skewY skin stage stateNum staticCache strokeColors texture timer toolTip top transform url value viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent ca...
来源: Laya3.0_api 发布时间: 20231115