• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,258 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0101 秒)

771. laya.ui.TextArea_API3.0 [ 61%]

...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

772. laya.ui.Tree_API3.0 [ 60%]

...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

773. 提示“AtlasResourceManager:Dispose the inner Atlas。” [ 60%]

...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

774. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 60%]

...        忽略顶点颜色信息,可减小lm文件大小         Texture Setting   ---   贴图设置                 Original Texture Type    ---   需要转换格式的原始纹理类型                          Non-PNG|JPG       非png| jpg 格式贴图...

来源: Laya_社区 发布时间: 20170428

775. Animation创建和销毁的问题 [ 60%]

...,如果forceDispose=true,则忽略引用计数,直接销毁,比如Texture,默认为false          */         public static function clearRes(url:String, forceDispose:Boolean = false):void { Loader.clearRes清理你把里面的第二个参数设置成false试试 如果还是不...

来源: Laya_社区 发布时间: 20180424

776. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 60%]

...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

777. 设置遮罩(ActionScript-LayaAir基础篇(AS3)-位图) [ 60%]

...下: ```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

778. laya.ui.TextInput [ 60%]

...nput textField : Text[read-only] 文本控件实体 Text 实例。 Label texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

779. laya.ani.swf.MovieClip [ 60%]

...自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

来源: Laya2.0_api 发布时间: 20190513

780. 3D网格添加刚体后设置欧拉角出现位置错误 [ 60%]

...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