大约有 93 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0034 秒)
Laya_社区(37) laya_api(18) Laya2.0_api(9) Laya2.0_示例(9) Laya2.0_文档(7) Laya3.0_文档(5) Laya_示例(5) Laya3.0_api(3)
...mCurrIndex = 0; var mArmature; var mCurrSkinIndex = 0; (function() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "../../res/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(...
来源: Laya_示例 发布时间: 20241118
...kinIndex = 0; var mSkinList = ["goblin","goblingirl"]; (function() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "../../res/spine/spineRes2/goblins.sk"; mFactory = new Templet(); mFactory.on...
来源: Laya_示例 发布时间: 20241118
...ptions */ "strict": true, /* Enable all strict type-checking options. */ // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ // "strictNullChecks": true, ...
来源: Laya_社区 发布时间: 20190408
...rue; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.Laya.stage.bgColor = ...
来源: Laya2.0_示例 发布时间: 20241118
... destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[read-only] 获取是否为单实例组件。 Component3D owner : ComponentNode[read-onl...
来源: laya_api 发布时间: 20170929
... SkeletonTempletSample { templet: Laya.Templet; constructor() { Laya.WebGL.enable(); Laya.init(1000, 900); //创建动画模板 this.templet = new Laya.Templet(); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); this.templet.loadA...
来源: Laya2.0_文档 发布时间: 20210715
...stener off offAll offAllCaller on once start stop updatePhysicsByWorldRoot enable Constructors constructor new Physics(): Physics Defined in laya/physics/Physics.ts:39 Returns Physics Properties box2d box2d: any = (<any>window).box2d Defined in laya/physics/Physics.ts:19 Box2d引擎的全局...
来源: Laya3.0_api 发布时间: 20231115
...dth, GameConfig.height, Laya["WebGL"]); Laya["Physics"] && Laya["Physics"].enable(); Laya["DebugPanel"] && Laya["DebugPanel"].enable(); Laya.stage.scaleMode = GameConfig.scaleMode; Laya.stage.screenMode = GameConfig.screenMode; Laya.stage.alignV = GameConfig.alignV; Laya.stage.alignH = GameConfig.al...
来源: Laya2.0_文档 发布时间: 20210715
...rmature:Skeleton; private mCurrSkinIndex:number = 0; constructor() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "res/spine/spineRes1/dragon.sk"; this.mFactory = new Templet(); this...
来源: Laya2.0_示例 发布时间: 20241118
...ublic var templet:Templet; public function SkeletonTempletSample() { WebGL.enable(); Laya.init(1000, 900); //创建动画模板 templet = new Templet(); templet.on(Event.COMPLETE, this, parseComplete); templet.on(Event.ERROR, this, onError); //加载动画文件 templet.loadAni("res/spine/goblins/go...
来源: Laya2.0_文档 发布时间: 20210715