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

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

461. laya.display.Stage [ 79%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite  mouseX : Number[override] [read-only] 鼠标在 Stage 上的 X 轴坐标。Stage  mouseY : Number[override] [read-only] 鼠标在 Stage 上的 Y 轴坐标...

来源: laya_api 发布时间: 20170929

462. 报错 Laya 的标识符中重复 [ 79%]

... Laya.stage.bgColor = "#232628"; var res = [ {url:"res/atlas/loading.json",type:Laya.Loader.ATLAS}, //{url:"res/atlas/loading.png",type:Laya.Loader.IMAGE}, //{url:"res/atlas/loading/01.png",type:Laya.Loader.IMAGE} ]; Laya.loader.load(res); showact(); })(); 2016-12-30 添加评论 免费帖 --> 分...

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

463. 启用版本管理后,Laya.loader.load加载在微信web开发者工具触发不了回调 [ 79%]

...,文件都带了hash, var resArray = [ {url: "res/atlas/common.atlas", type: Laya.Loader.ATLAS}, {url: "hall/1_login/login_bg.png", type: Laya.Loader.IMAGE}, {url: "hall/1_login/Bottom_article.png", type: Laya.Loader.IMAGE}, {url: "res/atlas/hall/login.atlas", type: Laya.Loader.ATLAS}, ] Laya.lo...

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

464. laya.d3.core.particleshuriken.module.GradientSize_API3.0 [ 79%]

...gradientYMax gradientYMin gradientZ gradientZMax gradientZMin separateAxes type Methods clone cloneTo getMaxSizeInGradient createByGradient createByGradientSeparate createByRandomTwoConstant createByRandomTwoConstantSeparate createByRandomTwoGradient createByRandomTwoGradientSeparate Constructors co...

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

465. [LayaAirIDE3]【插件开发】配置方式可以生成非常复杂的界面的部分疑惑 [ 79%]

...比如name为 splitMode I   官方有完整的示例吗,在使用Editor.typeRegistry.addTypes 配置方式处理界面时,有些 inspector 不知道如何配置使用。   export class SplitAtlasDialog extends IEditor.Dialog { async create() { let panel = IEditor.GUIUtils.createInspectorPanel(...

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

466. [分享]Dialog 点击边缘不关闭的 Demo示例 [ 78%]

...享 微博 QZONE 微信 アキラ。 赞同来自: 小丶kiss public close(type?:string, showEffect?:boolean):void{ if(type === "side"){ return; } super.close(type, showEffect) }  刚下载了楼上的zip。方法生效了。表示感谢。 把代码贴出来。免得别人再去下载了。 2018-1...

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

467. mac 的IDE,新建2D示例项目后,编译报错 [ 78%]

... Henno-汉 赞同来自: 自行解决了 在使用Laya前安装过node的type,就会出现这种情况,把原来的node的type卸载了就可以了 2019-02-11 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 HennoLuo 相关问题 Layab...

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

468. laya.d3.core.Camera_API3.0 [ 78%]

...cene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHierarchy aspectRatio boundFrustum canblitDepth clearColor clientHeight clientWidth components cullingMas...

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

469. fairygui 生成的二进制文件在头条界面加载后得到的数据是空的 [ 78%]

...数据是空的 Laya.loader.load([         { url:"res/Bag_atlas0.png", type:Laya.Loader.IMAGE },         { url:"res/Bag_atlas0_1.png", type:Laya.Loader.IMAGE},         { url:"res/Bag.xml", type:Laya.Loader.BUFFER}          ], Laya.Handler.create(this, this.onLoaded));   在手机...

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

470. laya.d3.core.Sprite3D [ 78%]

... Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控...

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