大约有 454 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0111 秒)
Laya_社区(255) Laya3.0_api(91) Laya2.0_文档(60) Laya_示例(22) Laya2.0_api(10) Laya3.0_文档(9) laya_api(7)
...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2DArray" Texture2DArray Class Texture2DArray 2D 纹理 数组 Hierarchy BaseTexture Texture2DArray Index Constructors constructor Properties _id depth destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel ...
来源: Laya3.0_api 发布时间: 20231115
...laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; import laya.d3.resource.models.BaseMesh; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.resource.Texture; import laya.util...
来源: Laya_示例 发布时间: 20250219
...ialog限制拖动区域有什么方法 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 第一个程序 hello laya显示不出文本,只是显示一些之前表格,单选项之类的东西 dialog通过UIConfig设置UIConfig.closeDialogOnSide ...
来源: Laya_社区 发布时间: 20180620
...Laya.TrailTextureMode.Stretch; //设置纹理 this._trail2D.texture = Laya.Texture2D.whiteTexture; // Laya.loader.load("此处填写纹理的路径").then((res) => { // this._trail2D.texture = res; // }); //设置线段颜色 this._trail2D.color = new Laya.Color(1, 1, 1, 1); } //控制物体向...
来源: Laya3.0_文档 发布时间: 20250214
...抽象类,不允许实例。 Hierarchy Resource BaseTexture NativeRenderTexture2D RenderTexture2D RenderTexture TextureCube Texture2DArray Texture2D VideoTexture Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel compare...
来源: Laya3.0_api 发布时间: 20231115
...er的方式能不能加载ani文件? 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 LayaAir 2D有没...
来源: Laya_社区 发布时间: 20170926
...rdMaterial(); //材质加载漫反射贴图 material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); //为模型赋材质(单个材质可赋给多个模型) sphere.meshRender.material = material; box.meshRender.material = material; } } new LayaAir3D(); 2018-03-02 1 1 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20180302
...laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; import laya.d3.resource.models.BaseMesh; import laya.d3.resource.models.Mesh; import laya.d3.utils.Utils3D; import laya.display.Stage; import laya.events.Event; import laya.reso...
来源: Laya_示例 发布时间: 20250219
...number, canvasHeight: number, offsetX: number, offsetY: number, rt?: RenderTexture2D | null): Texture | RenderTexture2D Inherited from Text.drawToTexture Defined in laya/display/Sprite.ts:1259 绘制到一个Texture对象 Parameters canvasWidth: number canvasHeight: number offsetX: number offsetY: n...
来源: Laya3.0_api 发布时间: 20231115
...有文字的贴图,贴上去, 2是把文字绘制成图,然后传给texture2d 贴上去 2018-08-14 0 2 分享 微博 QZONE 微信 Constantine 赞同来自: 那请问用方法2 如何在laya中实现把文字绘制成图? 2018-09-10 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回...
来源: Laya_社区 发布时间: 20180814