大约有 467 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0039 秒)
Laya_社区(260) Laya3.0_api(94) Laya2.0_文档(62) Laya_示例(23) Laya3.0_文档(10) Laya2.0_api(10) laya_api(7) Laya2.0_示例(1)
... Laya.loader.load("http://103.219.177.59:63344/%2 ... ot%3B, Laya.Loader.TEXTURE2D).then((texture: Laya.Texture2D) => { //在U方向上使用WARPMODE_CLAMP texture.wrapModeU = Laya.WrapMode.Clamp; //在V方向使用WARPMODE_CLAMP ...
来源: Laya_社区 发布时间: 20230316
DataTexture2D是做什么用的 我用base64的数据用 var _texture2d:DataTexture2D = new DataTexture2D(); _texture2d.onAsynLoaded(null, image); material.diffuseTexture=_texture2d; 没报错,但是贴上去是纯灰色,不是图片 DataTexture2D怎么用? 2018-06-05 添加评论 免费帖...
来源: Laya_社区 发布时间: 20180605
...cumentationAll Packages | All Classes | Index | Frames No Frames DataTexture2DProperties | Methods Packagelaya.d3.resourceClasspublic class DataTexture2DInheritanceDataTexture2D BaseTexture laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Propert...
来源: laya_api 发布时间: 20170929
...Returns Promise<Texture> wrapTex2D wrapTex2D(task: ILoadTask, tex2D: Texture2D): Texture Defined in laya/loaders/TextureLoader.ts:213 Parameters task: ILoadTask tex2D: Texture2D Returns Texture Globals "laya/loaders/TextureLoader" RenderTextureLoader Texture2DLoader TextureLoader load wrapTex2...
来源: Laya3.0_api 发布时间: 20231115
...a.BlinnPhongMaterial; //添加漫反射贴图 Laya.Texture2D.load("res/threeDimen/Physics/rocks.jpg", Laya.Handler.create(this, function (tex) { this.mat1.albedoTexture = tex; })); Laya.Texture2D.load("res/threeDimen/Physics/plywood.j...
来源: Laya_社区 发布时间: 20191009
...用mipmap Laya3D有没有一个全局设置可以禁用texture的mipmap, texture2d对象不是我生成的,没办法在构造方法设置,所以想问下有没有个全局方法可以设置 2018-04-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20180402
...skyDome = new Laya.SkyDome(); camera.sky = skyDome; skyDome.texture = Laya.Texture2D.load("../../res/threeDimen/env/sp_default/env.png");class SkyDomeSample { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.S...
来源: Laya_示例 发布时间: 20250222
...tandardMaterialDemo))。 ```typescript setTexture(){ //反射贴图 Laya.Texture2D.load('res/threeDimen/scene/PBRMaterialScene/Assets/PBR Barrel/Materials/Textures/Barrel_AlbedoTransparency.png', Laya.Handler.create(this, function (texture) { this.mat.albedoTexture = texture; })); //法线贴图 L...
来源: Laya2.0_文档 发布时间: 20210715
...粒子特效问题 导出的时候报错了 Unsupported texture format - Texture2D::EncodeTo functions do not support compressed texture formats. UnityEngine.Texture2D:EncodeToPNG() LayaExport.DataManager:saveTextureFile(JSONObject, Texture2D, String, String, String) LayaExport.DataManager:saveLmatF...
来源: Laya_社区 发布时间: 20180321
...ideo.video; videoTexture.video.play(); videoTexture.video.loop = true; var texture2D = new Laya.Texture2D(videoTexture.video.videoWidth,videoTexture.video.videoHeight); var texture:Laya.Texture = new Laya.Texture(texture2D); var image:Laya.Image = new Laya.Image(); image.texture = texture; image.wid...
来源: Laya_社区 发布时间: 20240305