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

大约有 4,336 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0088 秒)

301. laya.d3.core.material.SkyBoxMaterial [ 92%]

...ropertyexposure:Number 获取曝光强度。 Implementation     public function get exposure():Number    public function set exposure(value:Number):voidrotationproperty rotation:Number 获取曝光强度。 Implementation     public function get rotation():Number    public function ...

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

302. 引擎中的修改意见 [ 92%]

...am aniIndex 动画索引 * @param frameIndex 帧索引 * @return */ public function getGrahicsDataWithCache(aniIndex:int, frameIndex:Number):Graphics { if(_graphicsCache[aniIndex] && _graphicsCache[aniIndex][frameIndex]){ return _graphicsCache[aniIndex][frameIndex]; } return null; } 2、Text...

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

303. 打飞机点开始游戏加载飞机动画不出来,点重新开始,才出来,新手求助! [ 92%]

...有东西;当三秒后游戏结束,点重新开始,飞机才出来 function onLoaded() { start = new GameStartUI(); start.btn_start.on(Event.MOUSE_UP,this,gameInit) Laya.stage.addChild(start); } function gameInit() { map = new GameBgUI(); Laya.stage.addChild(map); play = new GamPlayUI(); Laya....

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

304. laya.d3.core.particleShuriKen.ShurikenParticleRender [ 92%]

...否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦...

来源: laya_api 发布时间: 20170929

305. laya.d3.core.light.SpotLight [ 92%]

...ponent3D 添加指定类型组件。 Sprite3D clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clone():* 克隆。 Sprite3D cloneTo(destObject:*):void 克隆。 Sprite3D contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点...

来源: laya_api 发布时间: 20170929

306. ...is not a function问题 [ 92%]

...is not a function问题 打小人的游戏 其中 this.gameRef 用于在Character和Bullet类的实例中访问Game类中的bulletsBox和charactersBox 在Character和Bullet类的init函数,把this.gameRef传入到每个Character和Bullet对象 现在问题是 如果敌人不出现 发射子弹...

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

307. bind函数的作用 [ 92%]

...otoLoaded.bind(this)); a15715740412 • 2018-01-30 16:31 /** * For a given function, creates a bound function that has the same body as the original function. * The this object of the bound function is associated with the specified object, and has the specified initial parameters. * @param thisArg A...

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

308. laya.utils.Pool [ 92%]

...个新的对象返回。 Pool  getItemByCreateFun(sign:String, createFun:Function):*[static] 根据传入的对象类型标识字符,获取对象池中此类型标识的一个对象实例。 当对象池中无此类型标识的对象时,则使用传入的创建此类型对象的函数,新建...

来源: laya_api 发布时间: 20170929

309. laya.device.media.Video [ 92%]

...是否支持播放指定格式视频。 Video clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node customRender(context:RenderContext, x:Number, y:Number):void...

来源: laya_api 发布时间: 20170929

310. TypeError: Cannot read property '_layer' of null; at Function.FrustumCulling.renderObjectCulling [ 92%]

TypeError: Cannot read property '_layer' of null; at Function.FrustumCulling.renderObjectCulling 写了一个可以随机生成物体的生成器,当发生碰撞就销毁,启动之后报这个错,如果不销毁就没有问题。 附件 : --> 2018-12-10 添加评论 免费帖 --> 分享 微...

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