大约有 2,830 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0088 秒)
Laya_社区(1670) Laya3.0_api(668) Laya2.0_文档(133) Laya2.0_api(128) laya_api(122) Laya3.0_文档(82) Laya2.0_示例(16) Laya_示例(11)
...refab的代码编译失败,提示“Property 'transform' does not exist on type 'Node'” 我从unity工程导出prefab到layaair中使用,根据文档中的介绍,使用如下代码加载prefab资源, Laya.Sprite3D.load("res/prefabs/Conventional/SampleScene.lh", Laya.Handler...
来源: Laya_社区 发布时间: 20211009
...ite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clone():* 克隆。 Sprite3D cloneTo(destObject:*):void 克隆...
来源: laya_api 发布时间: 20170929
...SHAPEORIENTATION_UPZ Accessors localOffset localRotation sizeX sizeY sizeZ type Methods clone cloneTo destroy updateLocalTransformations Constructors constructor new BoxColliderShape(sizeX?: number, sizeY?: number, sizeZ?: number): BoxColliderShape Overrides ColliderShape.constructor Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
...来自EventDispatcher 如图所示,当派发mouseup事件时,当前的type为mouseup,由于scrollBar移除了mouseUp事件,所以此时的this._events[type]是undefined,而源码中又去取undefined的run属性,肯定会报错,可以改成如下几句 let newListener=this._events[type]; i...
来源: Laya_社区 发布时间: 20211227
...yedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResolution shadowStrength timer transform url Methods _initialize _processActive addChild addChildAt ad...
来源: Laya3.0_api 发布时间: 20231115
.../components/AnimationClip2D.ts:228 动画时长 Returns number 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
... from Node.addChild Defined in laya/display/Node.ts:198 添加子节点。 Type parameters T: Node Parameters node: T 节点对象 Returns T 返回添加的节点 addChildAt addChildAt(node: Node, index: number): Node Inherited from Node.addChildAt Defined in laya/display/Node.ts:254 添加子节点...
来源: Laya3.0_api 发布时间: 20231102
...ties _extra _forward _scene _up _url name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT Accessors active activeInHierarchy clearColor components cullingMask destroyed displayedInStage farPlane fieldOfView hideFlags id is3D layer maxlocalYDista...
来源: Laya3.0_api 发布时间: 20231115
...yedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResolution shadowStrength spotAngle timer transform url Methods _initialize _processActive addChild add...
来源: Laya3.0_api 发布时间: 20231115
...ts.init(this.mydiv);进行echarts的初始化时,报: [ts] Argument of type 'HTMLDivElement' is not assignable to parameter of type 'HTMLDivElement | HTMLCanvasElement'. Type 'HTMLDivElement' is not assignable to type 'HTMLCanvasElement'. Property 'getContext' is missing in type 'HTMLDivElement'...
来源: Laya_社区 发布时间: 20170721