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

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

121. laya.resource.BaseTexture [ 44%]

...ass BaseTextureInheritanceBaseTexture laya.resource.BitmapSubclasses RenderTexture2D, Texture2D BaseTexture 纹理的父类,抽象类,不允许实例。 Public Properties PropertyDefined By  anisoLevel : int 各向异性等级 BaseTexture  defaulteTexture : BaseTexture[read-only] 获取默...

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

122. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 44%]

...Mesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:...

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

123. 动画挂点(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 44%]

...Mesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:...

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

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

...分享 微博 QZONE 微信 zfree 赞同来自: 新版本untiy UnityEngine.Texture2D.EncodeToPNG 去掉了见截图 我这边还是导出的时候 报错 MissingMethodException: Method not found: 'UnityEngine.Texture2D.EncodeToPNG'. 资源见unity.zip. 导出配置见截图 导出工具1.6.1,u...

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

125. 一个简单的跑酷曲面shader分享 [ 42%]

...rm sampler2D u_MainTex; varying vec2 v_textcoord; void main() { vec4 col = texture2D(u_MainTex, v_textcoord); gl_FragColor = col; } `; var shader: Laya.Shader3D = Laya.Shader3D.add("CustomCurveShader"); var subShader: Laya.SubShader = new Laya.SubShader(attributeMap, uniformMap); shader.addSubShader...

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

126. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 41%]

...a.StandardMaterial(); layaMonkey.meshRender.material.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/ui/button.png"); layaMonkey.meshRender.material.transformUV = new Laya.TransformUV(); console.log(layaMonkey.meshRender.material.transformUV); var rotation = new Laya.Vector3(0, 0.01, 0); ...

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

127. laya.resource.BaseTexture_API3.0 [ 38%]

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

128. laya.d3.core.scene.Scene3D_API3.0 [ 38%]

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

129. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 37%]

...dardMaterial = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = material; //加载3D资源 Laya.loader.create(["res/LayaScene_girl/girl.lh"],Laya.Handler.create(this,this.on3DComplete)); } /*加载3D资源完成回调*/ private ...

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

130. [BUG]刚体约束问题,移动后约束混乱! [ 37%]

...0);     var planeMat = new Laya.BlinnPhongMaterial();     Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(this, function (tex) {       planeMat.albedoTexture = tex;     }));     //设置纹理平铺和偏移     var tilingOffset = pl...

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