大约有 2,906 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0088 秒)
Laya_社区(1716) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(89) Laya2.0_示例(16) Laya_示例(11)
...ot/libs下添加对应的ts文件,通过以下命令 npm install --save @types/autobahn 生成了对应的d.ts的模块(在node_modules)下 但是发现依旧不提示 希望大神能解答一下这么几个问题 1.第三方的js导入最合理的方式具体是什么,或者说应该放在...
来源: Laya_社区 发布时间: 20180805
@prop 声明格式能否自定义? 太繁琐了 /** * @prop {name:tips, type:Node} */ 这个声明prop的方式是否太繁杂了,很影响效率,像以下这么写行不行?有没有自定义的方法呢? @prop {name:pgs, type:Node} 还有type:Node, 既然代码定义都是public pgs: La...
来源: Laya_社区 发布时间: 20181226
...erIndex:int, vector2:Vector2):void 设置二维向量。 BaseRender event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...
来源: laya_api 发布时间: 20170929
...来自EventDispatcher 如图所示,当派发mouseup事件时,当前的type为mouseup,由于scrollBar移除了mouseUp事件,所以此时的this._events[type]是undefined,而源码中又去取undefined的run属性,肯定会报错,可以改成如下几句 let newListener=this._events[type]; i...
来源: Laya_社区 发布时间: 20211227
...s:235 销毁资源,销毁后资源不能恢复。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...
来源: Laya3.0_api 发布时间: 20231115
...s:235 销毁资源,销毁后资源不能恢复。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...
来源: Laya3.0_api 发布时间: 20231115
...yedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResolution shadowStrength timer transform url Methods _initialize _processActive addChild addChildAt addChild...
来源: Laya3.0_api 发布时间: 20231115
...SHAPEORIENTATION_UPZ Accessors localOffset localRotation sizeX sizeY sizeZ type Methods _setScale clone cloneTo destroy updateLocalTransformations Constructors constructor new CannonBoxColliderShape(sizeX?: number, sizeY?: number, sizeZ?: number): CannonBoxColliderShape Overrides CannonColliderShape...
来源: Laya3.0_api 发布时间: 20231102
...tructor Properties _geometryElementOBj Accessors bufferState destroyed drawType indexFormat instanceCount mode Methods _getType clearRenderParams destroy setDrawArrayParams setDrawElemenParams Constructors constructor new GeometryElement(mode: MeshTopology, drawType: DrawType): GeometryElement Defin...
来源: Laya3.0_api 发布时间: 20231115
...s:243 销毁资源,销毁后资源不能恢复。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...
来源: Laya3.0_api 发布时间: 20231102