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

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

1731. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 36%]

...格的行数 list.repeatY = 4; //设置列表位置 list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 使用但隐藏垂直滚动条 list.vScrollBarSkin = ""; //滚动在头或底回弹时间 list.scrollBar.elasticBackTime = 500; //滚动在...

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

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

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

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

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

...(){ //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

1734. 开放数据域组件 · 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

1735. 列表组件 · 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

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

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

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

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

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

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

1739. 打包native报错 [ 31%]

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

1740. 资源加载 · 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