大约有 217 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0048 秒)
...如图三),代码如下: public drawScreenshot(): void { if (!this.tempTexture2D) { this.tempTexture2D = new Laya.Texture2D(1280,720); } if (!this.tempTexture) { this.tempTexture = new Laya.Texture(this.tempTexture2D); } // Laya.timer.once(110, this, function(){ let cans = Laya.Browser.document....
来源: Laya_社区 发布时间: 20191230
.../d3/core/render/BloomEffect.ts:83 泛光颜色。 dirtTexture dirtTexture: Texture2D = null Defined in laya/d3/core/render/BloomEffect.ts:87 镜头污渍纹路,用于为泛光特效增加污渍灰尘效果 fastMode fastMode: boolean = false Defined in laya/d3/core/render/BloomEffect.ts:85 是否开...
来源: Laya3.0_api 发布时间: 20231102
...载图集图片返回的Texture对象,是需要自己裁切纹理转成Texture2D对象吗? Laya_Aaron • 2019-07-13 10:23 @邓中强:这个问题不是一句户两句话能解决的,也不是给个回答就能解决,这是一套知识体系。 Laya_Aaron • 2019-07-13 10:24 @Laya_Aaron:美...
来源: Laya_社区 发布时间: 20190710
...ass BaseTextureInheritanceBaseTexture laya.resource.BitmapSubclasses RenderTexture2D, Texture2D BaseTexture 纹理的父类,抽象类,不允许实例。 Public Properties PropertyDefined By anisoLevel : int 各向异性等级 BaseTexture defaulteTexture : BaseTexture[read-only] 获取默...
来源: Laya2.0_api 发布时间: 20190513
...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
...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
...分享 微博 QZONE 微信 zfree 赞同来自: 新版本untiy UnityEngine.Texture2D.EncodeToPNG 去掉了见截图 我这边还是导出的时候 报错 MissingMethodException: Method not found: 'UnityEngine.Texture2D.EncodeToPNG'. 资源见unity.zip. 导出配置见截图 导出工具1.6.1,u...
来源: Laya_社区 发布时间: 20170428
...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
...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
...抽象类,不允许实例。 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