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

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

241. laya.d3.core.RenderableSprite3D_API3.0 [ 60%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...

来源: Laya3.0_api 发布时间: 20231115

242. 使用百度地图显示当前位置(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 60%]

...dy.appendChild(mapDiv); // 适应窗口尺寸 refit(); Laya.stage.on(Laya.Event.RESIZE, this, refit); // 初始化地图 map = new BMap.Map(mapDiv); // 禁用部分交互 //map.disableDragging(); map.disableKeyboard(); map.disableScrollWheelZoom(); map.disableDoubleClickZoom(); map.disablePinchTo...

来源: Laya2.0_文档 发布时间: 20210715

243. laya.resource.Texture2DArray_API3.0 [ 60%]

...ference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once setImageData setPixlesData setSubPixelsData destroyUnusedResources Constructors constructor new Texture2DArray(width: number, height: number,...

来源: Laya3.0_api 发布时间: 20231115

244. laya.display.Sprite [ 60%]

...All Classes | Index | Frames No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectImplements laya.display.ILayoutSubclasses AnimationPlayerBase, Component, DialogManager, GridSprite, MapLayer, MovieClip, Particle...

来源: laya_api 发布时间: 20170929

245. 获取相机renderTexture 作为阴影 的UV [ 60%]

...mouseHandler 怎么获取条目 如何获取图片每个像素点的RGB? Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 lh文件内meshSprite添加阴影属性无效 怎么获取对象的坐标 怎样获取浏览器地址传过来的GET参数 分享:LayaAir下如何获取图集...

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

246. ProtocolBuffer通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 60%]

...tingBuffer); }; // 接收服务器返回的消息 this.socket.onmessage = (event) => { //将 event.data 转换为 Uint8Array 类型,以便传递给解码函数 handleServerResponse 进行处理。 const buffer = new Uint8Array(event.data); this.handleServerResponse(buffer); }; // 连接关闭...

来源: Laya3.0_文档 发布时间: 20251010

247. laya.d3.core.light.PointLight [ 60%]

... Classes | Index | Frames No Frames PointLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object PointLight 类用于创建点光。 Public Properties Hide Inherit...

来源: laya_api 发布时间: 20170929

248. laya.d3.core.light.DirectionLight [ 60%]

...sses | Index | Frames No Frames DirectionLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object DirectionLight 类用于创建平行光。 Public Properti...

来源: laya_api 发布时间: 20170929

249. laya.d3.core.light.DirectionLight_API3.0 [ 60%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...

来源: Laya3.0_api 发布时间: 20231115

250. LayaAir引擎AS3与Flash原生AS3的开发差异(ActionScript-简介篇(AS3)-LayaAir引擎简介) [ 60%]

...ask.graphics.drawCircle(0,0,50); mask.graphics.endFill(); sp.mask=mask; addEventListener(Event.ENTER_FRAME,function():void { mask.x++; mask.cacheAsBitmap=true; sp.cacheAsBitmap=true; }); ``` **LayaAir引擎中正确的用法示例:** ```java Laya.init(600,400) var sp:Sprite=new Sprite(); sp.graphi...

来源: Laya2.0_文档 发布时间: 20191206