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

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

1691. 其他 · LayaAir3.4 · 引擎文档 · LAYABOX [ 36%]

...io number 设备像素比 screenWidth number 屏幕宽度,单位px screenHeight number 屏幕高度,单位px windowWidth number 可使用窗口宽度,单位px windowHeight number 可使用窗口高度,单位px statusBarHeight number 状态栏的高度,单位px(LayaNative中没有小游戏...

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

1692. 3D物理 · LayaAir3.4 · 引擎文档 · LAYABOX [ 36%]

...有效处理与环境的碰撞。开发者可以通过radius(半径)和height(高度)属性调整这个胶囊体的尺寸,通过centerOffset属性调整胶囊体在角色本地坐标系中的位置偏移。 角色控制器内置了多种实用功能来处理常见的角色移动场景。...

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

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

...表位置 list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 使用但隐藏垂直滚动条 list.vScrollBarSkin = ""; //滚动在头或底回弹时间 list.scrollBar.elasticBackTime = 500; //滚动在头或底最大距离 list.scrollBar.elastic...

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

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

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

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

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

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

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

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

...eatY = 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的垂直滚动皮肤,不设置或者""就没有滚动条皮肤 list.vScrollBarSkin = ""; // 开...

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

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

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

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

....TextFormat;     import flash.utils.Timer;       [SWF(width = "1000", height = "618", backgroundColor = "0x0", frameRate = "30")]       public class iLoader extends Sprite     {         public static var PATH:String = "";           public static var VCM:Function;           pu...

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

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

...e { 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 init(e:Event...

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