大约有 296 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0068 秒)
Laya3.0_api(113) Laya2.0_api(71) laya_api(69) Laya3.0_文档(32) Laya_社区(8) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170422
...otation scaleX scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destr...
来源: Laya3.0_api 发布时间: 20231102
...er : int 当前创建精灵所属遮罩层。Scene3D customReflection : TextureCube 获取反射贴图。 Scene3D customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean = false...
来源: Laya2.0_api 发布时间: 20190513
...,如果forceDispose=true,则忽略引用计数,直接销毁,比如Texture,默认为false clearResByGroup()method public function clearResByGroup(group:String):void 根据分组清理资源。 Parameters group:String — 分组名 clearUnLoaded()method public function clearUnLoaded():vo...
来源: laya_api 发布时间: 20170929
...otation scaleX scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destr...
来源: Laya3.0_api 发布时间: 20231102
...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并不会自...
来源: Laya3.0_文档 发布时间: 20251010
...源加载完成后,会自动缓存至资源库中。 Image source : Texture 对象的纹理资源。 Image stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓...
来源: Laya2.0_api 发布时间: 20190513
...leY scene scrollRect skewX skewY skinName source stage staticCache templet texture timer total transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender d...
来源: Laya3.0_api 发布时间: 20231115
...votY rotation scaleX scaleY scene 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
...votY rotation scaleX scaleY scene 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 clearAll clearTimer contains customRende...
来源: Laya3.0_api 发布时间: 20231115