大约有 416 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
Laya_社区(176) Laya3.0_api(92) Laya2.0_api(50) laya_api(38) Laya2.0_文档(25) Laya3.0_文档(18) Laya2.0_示例(11) Laya_示例(6)
... 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
...s awaked bounds boundsChange castShadow checkLOD destroyed distanceForSort enabled hideFlags id lightmapIndex lightmapScaleOffset lodCullRateArray material materials ratioIgnor receiveShadow reflectionMode renderNode renderbitFlag sharedMaterial sharedMaterials volume Methods _addList _applyReflecti...
来源: Laya3.0_api 发布时间: 20231115
...d By destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[override] [read-only] 获取是否为单实例组件。 Collider owner : ComponentNode[read...
来源: laya_api 发布时间: 20170929
... QZONE 微信 zfree 赞同来自: //开启节点destroy 事件 LayaPatch.Enable_NodeDestroyEvent = function(){ var oldDestroy = Laya.Node.prototype.destroy; Laya.Node.prototype.destroy = function(){ this.event('destroy'); oldDestroy.call(this); } } 2017-11-20 0 0 分享 微博 QZONE 微信 Monica - ...
来源: Laya_社区 发布时间: 20171120
...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
...oint destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[read-only] 获取是否为单实例组件。 Component3D matrixs : Vector.<Matrix4x4>...
来源: laya_api 发布时间: 20170929
...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
...ions destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D isSingleton : Boolean[read-only] 获取是否为单实例组件。 Component3D nodeCount : int[read-only] 获取播...
来源: laya_api 发布时间: 20170603
...y2.2/bin/libs/laya.debugtool.js:9815:3 TypeError: Cannot read property 'enable' of undefined preload.js:55 at HTMLScriptElement.script.onload (file:///E:/h5/project/szfy2.2/bin/libs/laya.core.js:22121:39) TypeError: Cannot read property 'enable' of undefined laya.core.js:22121 at HTMLScriptEle...
来源: Laya_社区 发布时间: 20191106
... // 确保摇杆初始状态正确 this.joystickScript.enable(); // 异步加载建筑图片 this.loadBuildingImage(); } //异步加载建筑图片 private loadBuildingImage(): void { Laya.loader.load( "r...
来源: Laya_社区 发布时间: 20251125