大约有 200 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
...片像素。 Texture2D load(url:String, complete:Handler):void[static] 加载Texture2D。 Texture2D loadImageSource(source:*, premultiplyAlpha:Boolean = false):void 通过图片源填充纹理,可为HTMLImageElement、HTMLCanvasElement、HTMLVideoElement、ImageBitmap、ImageData, 设置之后...
来源: Laya2.0_api 发布时间: 20190513
...; //创建EffectMaterial材质 var material = new Laya.EffectMaterial(); //加载地球贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置纹理 material.texture = texture; })); earth.meshRenderer.material = material; ``` ; //加载地球贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置纹理 material.texture = texture; })); earth.meshRenderer.material = material; ```  IDE1.7.8 json图集加载问题 关于适配采用showAll后留白部分的颜色问题 关于shader中opengl函数问题 IDE创建的UI 层级问题 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组...
来源: Laya_社区 发布时间: 20180410
... 微博 QZONE 微信 fool_tiger 赞同来自: 我用base64数据的方法加载的贴图在华为平板上色彩失真是为什么呢? 2018-06-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 fool_tiger 相关问题 微信关系链:...
来源: Laya_社区 发布时间: 20180605
...id 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _disposeResource():v...
来源: Laya2.0_api 发布时间: 20190513
...id 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _disposeResource():v...
来源: Laya2.0_api 发布时间: 20190513