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

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

621. 颜色滤镜 差值变化 [ 67%]

.../ module touch {     /**      * 颜色工具类      */ export class ColorTool { private _targetsValue: number = 16777215; private _targetsLastValue: number = null; private targets: Array<Laya.Sprite> = null; public static instance: ColorTool = null; private targetsFilter: Laya.Col...

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

622. 有没有懂tiledmap地图的朋友帮忙看看问什么地图加载不出来 [ 67%]

...t laya.net.Loader; import laya.utils.Handler; import view.TestView; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(1500, 900); //加载引擎需要的资源 var map1:TiledMap = new TiledMap(); map1.createMap("aa.json",new Rectangle(0,0,1200,720),Handler.crea...

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

623. 粒子动画透明度问题 [ 67%]

...: 拷贝替换......................................................  //class laya.particle.shader.ParticleShader extends laya.webgl.shader.Shader var ParticleShader=(function(_super){     function ParticleShader(){         ParticleShader.__super.call(this,ParticleShader.vs,ParticleShad...

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

624. 在微信小游戏中,主域中显示开发域的list为什么显示不全? [ 67%]

...题。 2018-05-08 0 0 分享 微博 QZONE 微信 Miller 赞同来自:   class Item extends Laya.Box {   public static WID: number = 600; public static HEI: number = 85; private img: Laya.Image;         //private text: Laya.Label; constructor(){ super(); this.size(Item.WID, Item.HEI); this...

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

625. spine动画放大后,遮罩显示不正常 [ 67%]

...置见下图代码和附件DEMO中的TestScene.scene文件 export default class GameUI extends Laya.Scene { constructor() { super(); //设置单例的引用方式,方便其他类引用 GameUI.instance = this; //关闭多点触控,否则就无敌了 Laya.MouseManager.multiTouchEnabled = false; //...

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

626. laya.d3.core.RenderableSprite3D [ 67%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RenderableSprite3DProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class RenderableSprite3DInheritanceRenderableSprite3D Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses Glitter, Mes...

来源: laya_api 发布时间: 20170929

627. laya.d3.core.MeshSprite3D [ 67%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames MeshSprite3DProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class MeshSprite3DInheritanceMeshSprite3D RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses MeshTerrain...

来源: laya_api 发布时间: 20170929

628. swf转成H5资源显示超出原有范围 [ 67%]

...stem.LoaderContext;     import flash.system.Capabilities;     public class Main extends Sprite     {         public function Main():void         {             if (stage) init();             else addEventListener(Event.ADDED_TO_STAGE, init);         }   ...

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

629. tiledmap 可以在图块层的指定格子上添加Sprite吗 [ 67%]

...会报错说_showGridList不存在,需要在libs/LayaAir.d.ts里,找到class MapLayer extends Sprite这一行,在下面加上 _showGridList: Array<any>;即可 wu语 • 2018-08-07 19:51 1.7.19.1版本不行

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

630. laya.media.VideoTexture_API3.0 [ 67%]

...xternals Only exported Menu Globals "laya/media/VideoTexture" VideoTexture Class VideoTexture VideoTexture 多媒体纹理 Hierarchy BaseTexture VideoTexture Index Constructors constructor Properties _id _isLoaded _needUpdate destroyedImmediately element lock name url uuid DEBUG Accessors anisoLevel...

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