大约有 217 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0035 秒)
...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
...ronmentSpecular : BaseTexture 获取环境高光贴图。 Sky texture : Texture2D 获取天空立方体纹理。 SkyDomePublic Methods MethodDefined By SkyDome() 创建一个 SkyBox 实例。 SkyDome _render(state:RenderState):void[override] SkyDome loadEnvInfo(envInfo:String):voidSkyD...
来源: laya_api 发布时间: 20170929
读地形高度图时,没办法把Texture2D的_canRead设为true 附件 : --> 2019-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 MAR 赞同来自: 2019-01-10 0 0 分享 微博 QZONE 微信 MAR 赞同...
来源: Laya_社区 发布时间: 20190110
...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
...erial6=new Laya.WaterMaterial(); customMaterial6.deepColorTexture=new Laya.Texture2D.load("water/WaterSimple.jpg"); customMaterial6.detailTexture=new Laya.Texture2D.load("water/Water2.jpg"); customMaterial6.diffuseTexture=new Laya.Texture2D.load("water/Water2.jpg"); customMaterial6.foamTexture=new L...
来源: Laya_社区 发布时间: 20170527
... var mat:PBRStandardMaterial = new PBRStandardMaterial(); //反射贴图 Texture2D.load('res/threeDimen/scene/PBRMaterialScene/Assets/PBR Barrel/Materials/Textures/Barrel_AlbedoTransparency.png', Handler.create(this, function(texture:Texture2D):void { mat.albedoTexture = texture; })); //法线贴图...
来源: Laya2.0_文档 发布时间: 20210714
... 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
...animation,loadAtlas后,AtlasResource的_referenceCount是0,对应的Texture2D的_referenceCount是AtlasResource中使用的次数,当animation执行destyoy后,AtlasResource和Texture2D的_referenceCount没有变化,再次创建后AtlasResource的_referenceCount依旧是0,对应的Textu...
来源: Laya_社区 发布时间: 20231212
...创建了 Textture2D如何对其进行宽高赋值 你好,我在创建了Texture2D后 ,我想对其进行宽高赋值,我发现没有相关的方法,而width和hight都是只读的。求解答。 另外我想设置像素,我看到可以getPixels ,但没有setPixels也同样求解。 我...
来源: Laya_社区 发布时间: 20190313
...Laya3D TERRAINRES : String = TERRAIN[static] Terrain资源。Laya3D TEXTURE2D : String = TEXTURE2D[static] Texture2D资源。Laya3D TEXTURECUBE : String = TEXTURECUBE[static] TextureCube资源。Laya3DProperty DetailenbalePhysicspropertyenbalePhysics:* [read-only] 获取是否可以启...
来源: Laya2.0_api 发布时间: 20190513