大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...Component() 创建一个新的 Component 实例。 Component destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复...
来源: Laya2.0_api 发布时间: 20190513
...Probe(): ReflectionProbe set sceneReflectionProbe(value: ReflectionProbe): void Defined in laya/d3/component/Volume/reflectionProbe/ReflectionProbeManager.ts:37 Scene Reflection Returns ReflectionProbe Defined in laya/d3/component/Volume/reflectionProbe/ReflectionProbeManager.ts:32 Scene Reflection ...
来源: Laya3.0_api 发布时间: 20231115
...ntext3D):Boolean[override] TerrainFilter _render(state:RenderContext3D):void[override] TerrainFilter calcLeafBoudingBox(worldMatrix:Matrix4x4):voidTerrainFilter calcLeafBoudingSphere(worldMatrix:Matrix4x4, maxScale:Number):voidTerrainFilter calcOriginalBoudingBoxAndSphere():voidTerrainFi...
来源: Laya2.0_api 发布时间: 20190513
...发送过来的数据怎么获取 private openHandler(event: any = null): void { console.log(`平台 正确建立连接`); this.socket.send("getScore"); } private receiveHandler(msg: any = null,data): void { console.log(`接收到数据触发函数:` + msg); /////////////////////////////////////////...
来源: Laya_社区 发布时间: 20180424
...后自动移除。 EventDispatcher start(throushold:int, interval:int):void 开始响应设备摇晃。 Shake stop():void 停止响应设备摇晃。 ShakeProperty Detailinstancepropertyinstance:Shake [read-only] Implementation public static function get instance():ShakeConstructor ...
来源: laya_api 发布时间: 20170929
...tNodeByIndex Accessors count get count(): number set count(value: number): void Defined in laya/components/KeyframeNodeList2D.ts:8 节点个数。 Returns number Defined in laya/components/KeyframeNodeList2D.ts:11 节点个数。 Parameters value: number Returns void Methods getNodeByIndex getNodeBy...
来源: Laya3.0_api 发布时间: 20231115
...his.apePath, Handler.create(this, this.createApe)); } private createApe(): void { // 添加一只猩猩 this.ape = new Sprite(); this.ape.loadImage(this.apePath); var texture: Texture = Laya.loader.getRes(this.apePath); this.ape.pivot(texture.width / 2, texture.height / 2); this.ape.pos(Laya.stage.w...
来源: Laya2.0_示例 发布时间: 20260303
...pharse(data:*, propertyParams:Object = null, constructParams:Array = null):void[static] 异步回调 TerrainHeightData load(url:String, complete:Handler, widht:int, height:int, bitType:int, value:Number):void[static] 加载地形高度模板,注意:不缓存。 TerrainHeightDataProperty Detail_bi...
来源: Laya2.0_api 发布时间: 20190513
...asticBackTime:int, data:*, disableMouseEvent:Boolean, ratio:Number = 0.92):void 开始拖拽。 Dragging stop():void 停止拖拽。 DraggingProperty Detailareapropertypublic var area:Rectangle 滑动范围。dataproperty public var data:Object 事件携带数据。elasticBackTimeproperty publi...
来源: laya_api 发布时间: 20170422
...Dome() 创建一个 SkyBox 实例。 SkyDome _render(state:RenderState):void[override] SkyDome loadEnvInfo(envInfo:String):voidSkyDome onEnvDescLoaded(envInfoFile:String):voidSkyDomePublic Constants Hide Inherited Public Constants Show Inherited Public Constants ConstantDefined By ALPHABL...
来源: laya_api 发布时间: 20170929