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

大约有 2,258 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0071 秒)

341. 修改了Scene下的WebGL参数导致渲染3D对象出现局部透明 [ 83%]

...AT, false, 0, 0 ); this.gl.bindBuffer(Laya.WebGLContext.ARRAY_BUFFER, this.textureCoordBuffer); // Check the current orientation of the device combined with the // orientation of the VRSeeThroughCamera to determine the correct UV // coordinates to be used. const combinedOrientation = combineOrientat...

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

342. laya打包iOS,运行奔溃,构建时候选择的是2.3.0 [ 83%]

...8 13:55:32.120276+0800 splitgame[1354:43331] getExtension WEBGL_compressed_texture_s3tc 尚未支持 2020-02-18 13:55:32.120543+0800 splitgame[1354:43331] getExtension WEBKIT_WEBGL_compressed_texture_s3tc 尚未支持 2020-02-18 13:55:32.120883+0800 splitgame[1354:43331] getExtension MOZ_WEBGL_compr...

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

343. [LayaAir3]Spine释放后,纹理不会被释放掉 [ 82%]

...pDat instanceof Laya.SpineTemplet) {        let obj: object = tmpDat["_textures"];        for (let key in obj) {            if (obj.hasOwnProperty(key)) {                let texture = obj[key] as Laya.SpineTexture;                let pngUrl = texture.realTexture.url; le...

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

344. Sprite-显示图片 [ 82%]

...ya.stage.addChild(ape); ape.loadImage(monkey1Path); // 方法2:使用drawTexture Laya.loader.load(monkey2Path, Laya.Handler.create(this, function () { let monkey2 = Laya.loader.getRes(monkey2Path); let ape2 = new Laya.Sprite(); Laya.stage.addChild(ape2); ape2.graphics.drawTexture(monkey2, 100, 0);...

来源: Laya2.0_示例 发布时间: 20251209

345. [LayaAirIDE3]在一定条件下,设置colorFilter的contrast没用 [ 82%]

...置contrast为-100后会什么都不发生: 首先给一个sprite赋予texture 然后给sprite赋予1个以上的filter 最后用代码,先读取sprite上同路径的texture,然后设置contrast为-100 发现根本没用 这几个条件:“sprite上设置了texture”,“sprite上有1个...

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

346. 使用setsubpixel函数对图片进行纹理像素填充,安卓端微信不正常 [ 82%]

...urls.push({ url: ResourcesManager.inst.brush_test_green, clas: Laya.Loader.TEXTURE2D,constructParams:[100, 100, 1, false, true]});   //开始填充     public fillPlane(){         let brush = Laya.loader.getRes(ResourcesManager.inst.brush_test_green) as Laya.Texture2D;         let ...

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

347. getimagedata直接调用无法获取有效像素问题 [ 82%]

...素数据都是0),看起来像是程序设计问题。 而在调用了 texture的 getpixels 得到有效数据。__proto.getPixels=function(x,y,width,height){ if (Render.isWebGL){ return RunDriver.getTexturePixels(this,x,y,width,height); }else { Browser.canvas.size(width,height); Browser.canvas....

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

348. laya.d3.resource.DataTexture2D [ 82%]

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

349. laya.d3.core.HeightMap_API3.0 [ 82%]

... 单元尺寸。 Returns HeightMap Static createFromImage createFromImage(texture: Texture2D, minHeight: number, maxHeight: number): HeightMap Defined in laya/d3/core/HeightMap.ts:95 从图片生成高度图。 Parameters texture: Texture2D minHeight: number maxHeight: number 最大高度。 Returns...

来源: Laya3.0_api 发布时间: 20231102

350. 滤镜-颜色滤镜 [ 82%]

...ya.Sprite; var Stage = Laya.Stage; var ColorFilter = Laya.ColorFilter; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var ApePath = "../../res/apes/monkey2.png"; var apeTexture; (function() { // 不支持WebGL时自动切换至Canvas Laya....

来源: Laya_示例 发布时间: 20251209