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

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

551. 源码List的一次代码错误 [ 76%]

...f (this.cacheContent) { var cacheBox = new Box(); cacheBox.cacheAsBitmap = true; cacheBox.pos((this._isVertical ? 0 : startY) * cellWidth, (this._isVertical ? startY : 0) * cellHeight); this._content.addChild(cacheBox); this._content.optimizeScrollRect = true; box = cacheBox; } else { [b] var arr = ...

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

552. 文本-字数限制 [ 76%]

...age.height - inputText.height >> 1; // 设置字体样式 inputText.bold = true; inputText.bgColor = "#666666"; inputText.color = "#ffffff"; inputText.fontSize = 20; inputText.maxChars = 5; Laya.stage.addChild(inputText); } })();module laya { import Input = Laya.Input; import Stage = Laya.Stage; imp...

来源: Laya_示例 发布时间: 20260303

553. Cannot read property 'toDefault' of undefined报错是什么原因 [ 76%]

... mapDiv; var infoText; var scene; var mySwitch; var target; var isRotate = true; (function() { Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; scene = Laya.stage.addChild(new Laya.Scene()); scene.shadingMode = Laya.BaseScene.VERTE...

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

554. 关于截屏的问题 [ 76%]

...1438/? D/PowerManagerService: updateDisplayPowerStateLocked: mDisplayReady=true, policy=3, mWakefulness=1, mWakeLockSummary=0x23, mUserActivitySummary=0x1, mBootCompleted=true, mScreenBrightnessBoostInProgress=false, useProximitySensor=false, mRequestWaitForNegativeProximity=false, mBrightnessWaitMo...

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

555. laya.d3.core.particleShuriKen.ShuriKenParticle3D [ 76%]

...含指定的 Node 节点对象 。 Node  destroy(destroyChild:Boolean = true):void[override] 销毁此对象。 ShuriKenParticle3D destroyChildren():void 销毁所有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(del...

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

556. SphereCollider和MeshCollider碰撞检测的bug [ 76%]

...dSphere,positions[i])===/*laya.d3.math.ContainmentType.Contains*/1) return true } return false; }else { return false; } break ;   上面代码中的 var positions=meshCollider.mesh._positions; 这个poistions是几何体初始化时的定点坐标,而不是根据几何体位置计算出来的当...

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

557. 文本-单行输入 [ 76%]

...tText.prompt = "Type some word..."; // 设置字体样式 inputText.bold = true; inputText.bgColor = "#666666"; inputText.color = "#ffffff"; inputText.fontSize = 20; Laya.stage.addChild(inputText); } })();module laya { import Input = Laya.Input; import Stage = Laya.Stage; import Browser = Laya.Brows...

来源: Laya_示例 发布时间: 20260303

558. 文本-字数限制 [ 76%]

...age.height - inputText.height >> 1; // 设置字体样式 inputText.bold = true; inputText.bgColor = "#666666"; inputText.color = "#ffffff"; inputText.fontSize = 20; inputText.maxChars = 5; } } new Text_MaxChars();module laya { import Input = Laya.Input; import Stage = Laya.Stage; import Browser = L...

来源: Laya2.0_示例 发布时间: 20260303

559. laya.map.TiledMap [ 76%]

...子两种 Public Properties PropertyDefined By  antiCrack : Boolean = true 是否调整地块边缘消除缩放导致的缝隙 TiledMap  autoCache : Boolean = true 是否自动缓存没有动画的地块 TiledMap  autoCacheType : String = normal 自动缓存类型,地图较大时建议使用n...

来源: laya_api 发布时间: 20170929

560. laya.map.TiledMap [ 76%]

...子两种 Public Properties PropertyDefined By  antiCrack : Boolean = true 是否调整地块边缘消除缩放导致的缝隙 TiledMap  autoCache : Boolean = true 是否自动缓存没有动画的地块 TiledMap  autoCacheType : String = normal 自动缓存类型,地图较大时建议使用n...

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