大约有 3,008 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0063 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
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
...方法,那么我们的定义库里只需要添加这样一个类即可:class Laya { public static function init(width:Number, height:Number, ... plugins):* { return null } } 这有点类似使用laya 原生js开发中的.d.ts文件,只是我们应该让这个laya类定义库尽量的小,满...
来源: Laya_社区 发布时间: 20170321
...ll Inherited Externals Only exported Menu Globals "laya/display/Node" Node Class Node Node 类是可放在显示列表中的所有对象的基类。该显示列表管理 Laya 运行时中显示的所有对象。使用 Node 类排列显示列表中的显示对象。Node 对象可以有子显示对象...
来源: Laya3.0_api 发布时间: 20231115
...文件后重试? 我就弄了一个测试代码,压根就没有功能。 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
...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
...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
...制显示速度出现打字效果等 /**古文脚本 */ 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
...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
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
...项目 修改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