• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)

841. laya.components.Component [ 83%]

...Component() 创建一个新的 Component 实例。 Component  destroy():void 销毁组件 Component  onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复...

来源: Laya2.0_api 发布时间: 20190513

842. laya.d3.component.volume.reflectionprobe.ReflectionProbeManager_API3.0 [ 83%]

...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

843. laya.d3.terrain.TerrainFilter [ 83%]

...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

844. websocket请教下,服务器发送过来的数据怎么获取 [ 83%]

...发送过来的数据怎么获取 private openHandler(event: any = null): void { console.log(`平台 正确建立连接`); this.socket.send("getScore"); } private receiveHandler(msg: any = null,data): void { console.log(`接收到数据触发函数:` + msg); /////////////////////////////////////////...

来源: Laya_社区 发布时间: 20180424

845. laya.device.Shake [ 83%]

...后自动移除。 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

846. laya.components.KeyframeNodeList2D_API3.0 [ 83%]

...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

847. 鼠标交互-Hold [ 83%]

...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

848. laya.d3.terrain.TerrainHeightData [ 83%]

...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

849. laya.utils.Dragging [ 83%]

...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

850. laya.d3.resource.models.SkyDome [ 83%]

...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