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

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

591. 关于laya生成的canvas定位问题导致内部事件不正确 [ 68%]

...nter;padding-top: 30px;} </style> </head> <body> <div class="layaDiv"></div> <div class="msgDiv">日志</div> </body> <script src="https://cdn.bootcss.com/jquery ... gt%3B <script type="text/javascript" src="http://layaair.ldc.layabox.com ... ot%...

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

592. laya.display.cmd.DrawPieCmd_API3.0 [ 68%]

...ernals Only exported Menu Globals "laya/display/cmd/DrawPieCmd" DrawPieCmd Class DrawPieCmd 绘制扇形 Hierarchy DrawPieCmd Index Properties fillColor lineColor lineWidth radius x y ID Accessors endAngle startAngle Methods getBoundPoints recover Properties fillColor fillColor: any Defined in laya/...

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

593. 在as里面定义个全局变量,新加进去的JS文件里面是否可以引用这个全局变量? [ 68%]

...加进去的JS文件里面是否可以引用这个全局变量? public class DataSingleton { public static var dxMerchantID:Number = 20000020;//商户id } 我在AS里面定义一个全局变量dxMerchantID,然后我新插入一个游戏js文件,在js文件我该怎么引用到这个dxMerchantI...

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

594. laya.d3.shadowMap.ParallelSplitShadowMap [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ParallelSplitShadowMapProperties | Methods Packagelaya.d3.shadowMapClasspublic class ParallelSplitShadowMapInheritanceParallelSplitShadowMap Object ... Public Properties PropertyDefined By  PSSMNum : intParallelSplitS...

来源: laya_api 发布时间: 20170929

595. graphics绘制报错 [ 68%]

graphics绘制报错 class Sprite_DisplayImage { constructor() { Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL); const path = "./res/apes/monkey2.png"; Laya.loader.load(path, Laya.Handler.create(this, function() { let tex = Laya.loader.getRes(path); let sp = new Laya.Spr...

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

596. playSound和playMusic结束时候有异常抛出 [ 68%]

...是否需要关注? Demo代码(已测试有效):  // 程序入口 class GameMain {     constructor()     {         Laya.init(640,1100, Laya.WebGL);         //设置适配模式         Laya.stage.scaleMode = "showall";         //设置剧中对齐         Laya.stage....

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

597. laya.d3.core.scene.QuadtreeNode [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames QuadtreeNodeProperties | Methods Packagelaya.d3.core.sceneClasspublic class QuadtreeNodeInheritanceQuadtreeNode ObjectImplements ITreeNodePublic Properties PropertyDefined By  _children : Vector.<QuadtreeNode>Qu...

来源: laya_api 发布时间: 20170304

598. laya.d3.math.Bounds_API3.0 [ 68%]

...nherited Externals Only exported Menu Globals "laya/d3/math/Bounds" Bounds Class Bounds Bounds 类用于创建包围体。 Hierarchy Bounds Implements IClone Index Constructors constructor Accessors max min Methods calculateBoundsintersection clone cloneTo getBoundBox getCenter getCorners getExtent ...

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

599. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 68%]

...laya/d3/physics/constraints/ConfigurableConstraint" ConfigurableConstraint Class ConfigurableConstraint ConfigurableConstraint类用于可设置的约束组件 Hierarchy ConstraintComponent ConfigurableConstraint Index Constructors constructor Properties _extra _singleton disableCollisionsBetweenLin...

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

600. 如何在游戏入口处获取对象的子对象 [ 68%]

...ap = (function (_super) { function loadMap() { loadMap.super(this); } Laya.class(loadMap,"loadMap",_super); var _proto = loadMap.prototype; _proto.init = function() { this.num = ""; this.map = new TiledMap(); } _proto.showMap = function(num) { this.num = num; this.map.createMap("map/level/mota_map" ...

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