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

大约有 3,008 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0059 秒)

2431. laya.d3.math.Native.ConchQuaternion [ 46%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ConchQuaternionProperties | Methods | Constants Packagelaya.d3.math.NativeClasspublic class ConchQuaternionInheritanceConchQuaternion ObjectImplements laya.d3.core.IClone Quaternion 类用于创建四元数。 Public Pr...

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

2432. 编译太慢了,我想到一种优化编译时间的方式,请官方给出评价 [ 46%]

...方法,那么我们的定义库里只需要添加这样一个类即可:class Laya { public static function init(width:Number, height:Number, ... plugins):* { return null } } 这有点类似使用laya 原生js开发中的.d.ts文件,只是我们应该让这个laya类定义库尽量的小,满...

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

2433. laya.display.Node_API3.0 [ 46%]

...ll Inherited Externals Only exported Menu Globals "laya/display/Node" Node Class Node Node 类是可放在显示列表中的所有对象的基类。该显示列表管理 Laya 运行时中显示的所有对象。使用 Node 类排列显示列表中的显示对象。Node 对象可以有子显示对象...

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

2434. Error: 代码包大小为 5533 kb,上限为 4096 kb,请删除文件后重试? [ 46%]

...文件后重试? 我就弄了一个测试代码,压根就没有功能。 class Main { constructor() { console.log(Laya.Browser.width, Laya.Browser.height); this.current = { x: 0, y: Laya.Browser.height }; // Laya.stage.bgColor = "#3F51B5"; this.sp = new Laya.Sprite(); Laya.stage.addChild(this.sp);...

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

2435. 提示资源重复加载 [ 46%]

...ol01.png"; let swimpoorpath02="Comp/yard_swimpool02.png";  export default class Yard extends Laya.Sprite { private swimpoolani:Laya.Animation;  constructor() { super(); this.swimpoolani=new Laya.Animation(); //this.init(); this.swimpoolani.loadAtlas("./res/atlas/Comp.atlas",Laya.Handler.create(thi...

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

2436. laya.ani.bone.Templet_API3.0 [ 46%]

...rited Externals Only exported Menu Globals "laya/ani/bone/Templet" Templet Class Templet 动画模板类 Hierarchy AnimationTemplet Templet Index Constructors constructor Properties _id aniSectionDic bindBoneBoneSlotDic boneSlotArray boneSlotDic deformAniArr destroyedImmediately drawOrderAniArr even...

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

2437. 类似古文显示方式脚本,文字垂直显示,可以控制显示速度出现打字效果等 [ 46%]

...制显示速度出现打字效果等  /**古文脚本 */ export default class TextAncient extends Laya.Script { /** @prop {name:text, tips:"显示文本", type:String, default:"hello world"}*/ public text: string = "hello world"; /** @prop {name:color, tips:"字符串类型示例", type:String, def...

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

2438. laya.events.Event_API3.0 [ 46%]

...l Inherited Externals Only exported Menu Globals "laya/events/Event" Event Class Event Event 是事件类型的集合。一般当发生事件时,Event 对象将作为参数传递给事件侦听器。 Hierarchy Event Index Constructors constructor Properties button currentTarget delta isDblClick na...

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

2439. iphone6闪退 [ 46%]

iphone6闪退 objc[644]: Class JSWTFMainThreadCaller is implemented in both /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore and /private/var/mobile/Containers/Bundle/Application/6815AAA5-5DD9-4F5E-B035-86F46C8BD87F/layabox.app/layabox. One of the two will be used. Which one is un...

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

2440. 编译Typescript项目时卡死,通过node断点调试layaair-cmd,已定位是tsSort.js问题 [ 46%]

...项目 修改src/LayaSample.ts import WebGL = Laya.WebGL; // 程序入口 class GameMain{ constructor() { Laya.init(600,400, WebGL); } static wallet:com.battlecry.idle_m.data_proto.WalletModel; } new GameMain();        然后编译就卡死         Bug调试: 经过node inspect 发现是l...

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