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

大约有 115 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0039 秒)

21. 如何解码base64_decode加密的字符串? [ 65%]

...折叠 要回复问题请先登录 发起人 d3maidian 相关问题 请问Texture2D如何用base64字符串构建对象 laya里面有没有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 关于代码加密的问题 IDE中选中字符串大小写转换快捷键 ...

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

22. matter中更换texture [ 64%]

...片的事件,需要点击两次才能更换图片 Texture如何转换成Texture2D有人搞过吗 UI皮肤怎么动态设置图片资源,有时候需要更换整个文件夹的图片,有什么好的方法么 如果更换Sprite图片 Texture的getPixels()在Android下调用提示is not a function ...

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

23. 渲染问题,材质表现不符合预期 [ 64%]

...          */          get/set anisoLevel()   设置一下 texture2d.anisoLevel 2019-08-08 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 EagleNight 相关问题 发起问题须知,必看!!...

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

24. 同一类型光源互斥的问题报告 [ 63%]

...lbedo = new Laya.Vector4(0.8, 0.8, 0.8, 0); material.diffuseTexture = Laya.Texture2D.load("images/bg03.png"); box.meshRender.material = material; //平面 var plane = sprite3D.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(15, 15, 1, 1))); plane.transform.position = new Laya.Vector3(0, 0, 0); var...

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

25. 骨骼挂点图片不展示的问题 [ 63%]

...these 赞同来自: MissingMethodException: Method not found: 'UnityEngine.Texture2D.EncodeToPNG'. LayaExport.DataManager.saveData () LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:427) LayaAir3D.OnGUI () (at Assets/LayaAir3D/L...

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

26. laya.resource.BaseTexture_API3.0 [ 58%]

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

27. 3d下阴影渲染问题求解 [ 57%]

...var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); material.albedo = new Laya.Vector4(1,0,1,1); box.meshRender.material = material; box.meshRender.receiveShadow = true; box.meshRender.castShadow = true; poolBox.push(box); } } }, creatPerson:...

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

28. laya.d3.core.scene.Scene3D [ 50%]

...显示区域,不包括子对象。 Sprite  getlightmaps():Vector.<Texture2D> 获取光照贴图浅拷贝列表。 Scene3D getMousePoint():Point获得相对于本对象上的鼠标坐标信息。Sprite getRepaint():intSprite getSelfBounds():Rectangle 获取本对象在自己坐标系的...

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

29. 角色模型的材质列表切换后,不播放动作了 [ 50%]

...;\n" + "uniform sampler2D u_texture;\n" + "void main(){\n" + "gl_FragColor=texture2D(u_texture, v_Texcoord);}\n";自定义材质class CustomMaterial extends Laya.BaseMaterial { static DIFFUSETEXTURE_ID: number = 1; constructor() { super(); this.setShaderName("CustomShader"); } public getDiffuseTextu...

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

30. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 48%]

...createFromMeshAndHeightMap createFromMeshAndHeightMap(mesh: Mesh, texture: Texture2D, minHeight: number, maxHeight: number, name?: string): MeshTerrainSprite3D Defined in laya/d3/core/MeshTerrainSprite3D.ts:39 从网格创建一个TerrainMeshSprite3D实例、图片读取高度图属性。 Parameters...

来源: Laya3.0_api 发布时间: 20231102