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

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

1851. 微信小游戏利用开放域好友关系链做排行榜 [ 35%]

...         sprite.graphics.drawTexture(rankTexture,0,0,rankTexture.width,rankTexture.height);                  // console.log("再次往开放域发请求");                 // openDataContext.postMessage({                 //  cmd:2,     ...

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

1852. Adobe Flash Builder 4.7无法编译Laya2.6.1创建的3D示例项目 [ 35%]

...(){ //function Laya(){} Laya.__init=function(_classs){} Laya.init=function(width,height,__plugins){} Laya.alertGlobalError=function(value){} Laya.enableDebugPanel=function(debugJsPath){} Laya.stage=null; Laya.systemTimer=null; Laya.startTimer=null; Laya.physicsTimer=null; Laya.updateTimer=null; Laya...

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

1853. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 35%]

...形式定义开放数据域的样式和布局 let style = { container: { width: 400, height: 200, backgroundColor: "#ffffff", justifyContent: "center", alignItems: "center", }, testText: { color: "#ffffff", width: "100%", height: "100%", lineHeight: 200, fontSize: 40, textAlign: "center", }, // 文...

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

1854. 列表组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 35%]

...temRender = Item; list.repeatX = 1; list.repeatY = 4; list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 设置List的垂直滚动 list.scrollType = Laya.ScrollType.Vertical; // 设置List的垂直滚动皮肤,不设置或者""就没有滚动...

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

1855. 使用3D摄像机 · LayaAir3.4 · 引擎文档 · LAYABOX [ 33%]

... this.viewport.x; this._rayViewport.y = this.viewport.y; this._rayViewport.width = ILaya.stage._width; this._rayViewport.height = ILaya.stage._height; Picker.calculateCursorRay(point, this._rayViewport, this._projectionMatrix, this.viewMatrix, null, out); } 参照3D-RPG项目,我们加上一段代...

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

1856. LayaFlash如何使用chrome调试问题? [ 32%]

...839 package { import flash.display.Sprite; import flash.events.Event; [SWF(width=960,height=640,backgroundColor=0x0,frameRate=60)] public class Main extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); this.init(); } private function in...

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

1857. 列表组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 32%]

...过两种方式动态改变item的大小: 在itemRenderer的内部使用width、height或size改变item的大小。 item建立对内部元件的关联,然后在itemRenderer里修改内容触发内部元件的改变,从而自动改变item高度。例如item建立了一个对内部某个可变...

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

1858. 打包native报错 [ 30%]

... 2019-06-18 13:34:08.500671+0800 test1[6479:65523] =============onGLReady width=828,height=1792 2019-06-18 13:34:08.500957+0800 test1[6479:65523] download thread num = 3 2019-06-18 13:34:09.231013+0800 test1[6479:65523] createOpenALSource current num=10 2019-06-18 13:34:09.231349+0800 test1[6479:655...

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

1859. 资源加载 · LayaAir3.4 · 引擎文档 · LAYABOX [ 29%]

...去下载Meta(json)文件 [key: string]: any; } TextureConstructParams { width?: number, height?: number, format?: TextureFormat, mipmap?: boolean, canRead?: boolean, sRGB?: boolean, } TexturePropertyParams { wrapModeU?: number, wrapModeV?: number, filterMode?: FilterMode, anisoLevel?: number, premu...

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

1860. HTTP通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 29%]

...= "#FFFFFF"; this.text.font = "Impact"; this.text.fontSize = 25; this.text.width = 800; this.text.anchorX = 0.5; this.text.align = "center"; this.text.y = 20; this.text.centerX = 0; this.owner.addChild(this.text); } /** * 发起HTTP连接请求 */ private connect(): void { //创建HttpRequest对象 ...

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