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

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

261. 技术文档svg不可以使用 [ 75%]

...引擎Laya.init(600, 400, Laya.WebGL);Laya.stage.bgColor = "#ffcccc";var data = "data:image/svg+xml," + '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' +'<foreignObject width="100%" height="100%">' +'<div xmlns="http://www.w3.org/1999/xhtml" style="font-size:40px"&...

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

262. 小游戏真机调试3d资源不显示 [ 75%]

...long time:103 url=LayaScene_Ninja/Conventional/Ninja-cd389f8b07.lh GradientDataNumber warning:the forth key is be force set to 1. GradientDataNumber warning:data count must lessEqual than 4 GradientDataColor warning:the forth key is be force set to 1. Gradient:warning:data count must lessEqual than ...

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

263. QQ玩一玩Image无法显示Base64图片 Retry to load: data:image/png;base64, [ 75%]

QQ玩一玩Image无法显示Base64图片 Retry to load: data:image/png;base64, Retry to load: data:image/png;base64,xxxxxxxxxxxxxxxxxxx     const PNG_LOADING = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAH...

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

264. laya.d3.physics.PhysicsCollider [ 75%]

...  _onTransformChanged(flag:int):void[override] PhysicsCollider  _parse(data:Object):void[override] PhysicsCollider  _removeFromSimulation():void[override] PhysicsCollider destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则...

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

265. 新手!谁懂得把下面两个文件转成layaair可以运行的代码 [ 75%]

...     debug_txt.text = "";             debug_txt.text = String(evt.data.desc);             debug_txt.parent.setChildIndex(debug_txt,debug_txt.parent.numChildren - 1);         }           private function launchGame(params:Object):void         {             CONFIG::deb...

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

266. 使用UI组件tree时,添加的数据结构必须是xml吗?添加xml时对于tree的单元格里面的label如何控制例如visible的属性 [ 75%]

...的链接 提交 2 个回复 shiyang12345 赞同来自: var xmlString="<data>"+ "<dir name='shi' num='10000' state='已集结' time_pro='' isOpen='true'>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isO...

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

267. list中加的button不能接收点击事件 求一个list中加button的demo [ 75%]

...: updateItem(items):void{         var posY = 0;         var data: Array<any> = [];         for(var i= 0 ;i< items.UserWareList.length;i++){             var itemList = new BagItem(items.icon,items.name,items.count);             itemList.pos(70,posY)...

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

268. laya.d3.graphics.VertexBuffer3D_API3.0 [ 75%]

...fferUsage canRead instanceBuffer vertexDeclaration Methods destroy getUint8Data orphanStorage setData unbind Constructors constructor new VertexBuffer3D(byteLength: number, bufferUsage: BufferUsage, canRead?: boolean): VertexBuffer3D Overrides VertexBuffer.constructor Defined in laya/d3/graphics/Ver...

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

269. [LayaAirIDE3]xcode切入切出声音不播放 [ 75%]

...时读取缓存     public initFromStorage(): void {         const data = Laya.LocalStorage.getJSON(SoundManager.STORAGE_KEY);         if (data) {             //Laya.SoundManager.musicVolume = data.bgmVolume / 100;             Laya.SoundManager.setMusicVolume(data.bgmVolume / 1...

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

270. laya.d3.resource.Texture2D [ 75%]

...Texture2D[static] 加载Texture2D。 Texture2D  onAsynLoaded(url:String, data:*, params:Array):void[override] private Texture2DProtected Methods  MethodDefined By  detoryResource():void[override] 销毁资源。 Texture2D  recreateResource():void[override] 重新创建资源,如果异步创...

来源: laya_api 发布时间: 20170929