大约有 345 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0098 秒)
...同一后缀不同作用的资源。 //例如,图片xxx.png被定义为TextureCube,使用load("xxx.png", Laya.Loader.TEXTURECUBE)。得到的是TextureCube。 }); 1.2 加载多个资源(用数组) var url1 = "xxx.png"; var url2 = "xxxxx.png"; var type1 = Laya.Loader.IMAGE; var type2 = Laya.L...
来源: Laya3.0_文档 发布时间: 20251010
...ight rotation scaleX scaleY scene scrollRect skewX skewY 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 contains customRe...
来源: Laya3.0_api 发布时间: 20231115
...ight rotation scaleX scaleY scene scrollRect skewX skewY 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 contains customRe...
来源: Laya3.0_api 发布时间: 20231115
...ight rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _onActive _onInActive _processActive _setHeight _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleE...
来源: Laya3.0_api 发布时间: 20231115
...on scaleX scaleY scene scrollRect scrollType skewX skewY stage staticCache texture timer toolTip top transform url vScrollBar vScrollBarSkin viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setWidth addChild addChildAt addChildren addComponent addComponentInstance bub...
来源: Laya3.0_api 发布时间: 20231115
...otation scaleX scaleY scene scrollRect skewX skewY space 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 contains customRe...
来源: Laya3.0_api 发布时间: 20231115
...ight rotation scaleX scaleY scene scrollRect skewX skewY 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 closeAll contains...
来源: Laya3.0_api 发布时间: 20231115
...下: ```java package { import laya.display.Sprite; import laya.resource.Texture; import laya.utils.Handler; public class MaskDemo { private var Res:String; private var img:Sprite; public function MaskDemo() { Laya.init(1136,640); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" //资源路...
来源: Laya2.0_文档 发布时间: 20210714
...otation scaleX scaleY scene scrollRect skewX skewY space stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contain...
来源: Laya3.0_api 发布时间: 20231115
...ader.load("res/apes/monkey2.png",Laya.Handler.create(this,function() { var texture=Laya.loader.getRes("res/apes/monkey2.png"); var sp=new Laya.Sprite(); sp.graphics.drawTexture(texture,0,0); sp.size(texture.width,texture.height); Laya.stage.addChild(sp); })); ``` 使用Graphics.drawTexture并不会...
来源: Laya2.0_文档 发布时间: 20210714