大约有 2,258 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0101 秒)
Laya_社区(1808) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(28) Laya2.0_示例(15)
...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
...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
...3));*/ (function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var Loader = laya.net.Loader; var Event = Laya.Event; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(B...
来源: Laya_社区 发布时间: 20170825
... 忽略顶点颜色信息,可减小lm文件大小 Texture Setting --- 贴图设置 Original Texture Type --- 需要转换格式的原始纹理类型 Non-PNG|JPG 非png| jpg 格式贴图...
来源: Laya_社区 发布时间: 20170428
...,如果forceDispose=true,则忽略引用计数,直接销毁,比如Texture,默认为false */ public static function clearRes(url:String, forceDispose:Boolean = false):void { Loader.clearRes清理你把里面的第二个参数设置成false试试 如果还是不...
来源: Laya_社区 发布时间: 20180424
...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
...下: ```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
...nput textField : Text[read-only] 文本控件实体 Text 实例。 Label texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170929
...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
...a.BlinnPhongMaterial; //添加漫反射贴图 Laya.Texture2D.load("res/threeDimen/Physics/rocks.jpg", Laya.Handler.create(this, function (tex) { this.mat1.albedoTexture = tex; })); //平面加载 let plane = this.scene.add...
来源: Laya_社区 发布时间: 20201127