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

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

341. rigidBody.applyForce 物体不会移动 [ 48%]

...ar material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load( "res/layabox.png", Laya.Handler.create(null, function (tex: Laya.Texture2D) { material.albedoTexture = tex; }) ); box.meshRenderer.material = material; //设置文本显示框位置 this.text.x = Laya.stage.wi...

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

342. 材质的功能介绍(ActionScript-3D基础(AS3)-LayaAir3D之Material材质) [ 48%]

...纹理 pbrTexture = Loader.getRes("res/threeDimen/texture/earth.png") as Texture2D; //为PBRStandard材质设置漫反射贴图 pbrStandardMaterial.albedoTexture = pbrTexture; //修改导出球的材质 sphere.meshRenderer.material = pbrStandardMaterial; ``` ![](img/5.png)(图5) ### 3.是否能接...

来源: Laya2.0_文档 发布时间: 20210715

343. 高级应用-Laya3D与网页混合 [ 47%]

...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_示例 发布时间: 20251130

344. 材质的功能介绍(TypeScript-3D基础(TS)-LayaAir3D之Material材质) [ 47%]

...brTexture = Laya.Loader.getRes("res/threeDimen/texture/earth.png") as Laya.Texture2D; //为PBRStandard材质设置漫反射贴图 this.pbrStandardMaterial.albedoTexture = this.pbrTexture; //修改导出球的材质 this.sphere.meshRenderer.material = this.pbrStandardMaterial; ``` ![](img/5.png)(图5...

来源: Laya2.0_文档 发布时间: 20210715

345. laya.resource.Texture2DArray_API3.0 [ 47%]

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

346. Sprite3D-Sprite3D克隆 [ 47%]

...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_示例 发布时间: 20251130

347. popupEffect 有谁能告诉我dialog的这个东西要怎么用啊? [ 47%]

...ialog限制拖动区域有什么方法 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 第一个程序 hello laya显示不出文本,只是显示一些之前表格,单选项之类的东西 dialog通过UIConfig设置UIConfig.closeDialogOnSide ...

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

348. 2D拖尾渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...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_文档 发布时间: 20251010

349. laya.resource.BaseTexture_API3.0 [ 45%]

...抽象类,不允许实例。 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

350. 为什么说没有​ playByFrame方法 [ 45%]

...er的方式能不能加载ani文件? 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 LayaAir 2D有没...

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