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

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

91. 精灵自动消失 [ 57%]

...用缓存的方式保存下矩形,             this.sp.cacheAs = "bitmap" 2021-12-02 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 DiIIon 相关问题 2.0一不小心删了bin目录下的某个场景jso...

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

92. laya.resource.Texture2D [ 57%]

...eClasspublic class Texture2DInheritanceTexture2D BaseTexture laya.resource.Bitmap Texture2D 类用于生成2D纹理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By anisoLevel : int 各向异性等级 BaseTexture  blackTexture : Texture2D ...

来源: Laya2.0_api 发布时间: 20190513

93. 如何彻底关闭开放域排行榜 [ 57%]

...ample.spriteLeaderboard)) {//从舞台移除 LayaSample.textureLeaderboard.bitmap.alwaysChange = false;//将消耗性能的这句话关闭 LayaSample.spriteLeaderboard.removeSelf();//移除精灵 } LayaSample.textureLeaderboard.destroy(false);//销毁纹理 LayaSample.spriteLeaderboard.destroy(true)...

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

94. tween对Text的缩放,为何会抖动呢? [ 57%]

...自: 找到解决办法了: this.txt.cacheAs = "normal";//或者设置bitmap皆可解决抖动问题 2020-04-10 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 这个抖动是bug,敬请期待后续版本修复 2020-04-10 0 0 分享 微博 QZONE 微信 腊笔小新 赞同来自: 最佳...

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

95. laya.resource.RenderTexture2D [ 57%]

... class RenderTexture2DInheritanceRenderTexture2D BaseTexture laya.resource.Bitmap RenderTexture 类用于创建渲染目标。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By anisoLevel : int 各向异性等级 BaseTexture  currentActive : R...

来源: Laya2.0_api 发布时间: 20190513

96. 特效播放问题 [ 56%]

...之前加上: var texture:Texture = Laya.loader.getRes(e.url); texture.bitmap.enableMerageInAtlas = false; rgxianzhan • 2017-10-23 19:39 不能在加载的时候设置大图合集么,使用的地方真不少 Monica • 2017-10-23 20:01 @rgxianzhan:关闭大图合集:AtlasResourceManager._dis...

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

97. 在2.0中如何将Browser.createElement('canvas')转为可用的Texture [ 56%]

...令。     var textture = new Laya.Texture(canvas);     textture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新     Laya.stage.graphics.drawTexture(textture);    但是2.0 就不行了。报错误: Uncaught TypeError: value._addReference is not a function 有...

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

98. 刮刮卡效果实现 [ 55%]

...ar ape; var mouseX = 0; _proto.onInit = function(){ this.guaSpr.cacheAs = "bitmap"; ape = new Sprite(); this.guaSpr.addChild(ape); ape.loadImage("WBSign/img_guakaituceng.png"); ape.on(Event.MOUSE_MOVE, this, onMouseMove); interactionArea = new Sprite(); interactionArea.blendMode = "destination-out";...

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

99. laya.ui.FontClip [ 55%]

...etBounds方法获取。设置为true,对性能有一定影响。 Sprite bitmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距...

来源: Laya2.0_api 发布时间: 20190513

100. RenderTexture: unkonw depth format. [ 55%]

...nderTexture: unkonw depth format RenderTexture: unkonw depth format. cache bitmap size larger than 2048,cache ignored Unity3d导出模型时 报错:LayaAir3D UnityPlugin prefab can't export You should check the texture file format laya的透视相机有没有“深度”这个属性?类似U3D相...

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