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

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

1731. Sprite.loadImage();问题 [ 55%]

...*          * 初始化 地图          */         public function initMap(texture:Texture, bgID:int):void{             if(this.oldBgID != bgID){                 oldBgID = bgID;                 if(oldTexture){                     oldTe...

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

1732. 富文本使用图集 [ 55%]

...son", Handler.create(this, createAnimation), null, Loader.ATLAS);  public function createAnimation():void         {             var appendHtml:HTMLDivElement=new HTMLDivElement();             appendHtml.innerHTML="aa==<ani src='res/1.png'></ani>";         ...

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

1733. 如何获取骨骼动画当前播放的index或者name [ 55%]

...,直接通过Skeleton类去获取 * @private * 得到帧索引 */ public function get index():int { return _index; }Skeleton继承自Sprite,可以通过getChildByName去获取当前动画的name名称 2016-09-23 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问...

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

1734. Laya IDE 动画编辑怎么插入关键帧回调 [ 55%]

...param   index   帧索引          */         public function addLabel(label:String, index:int):void {             if (!_labels) _labels = {};             if (!_labels[index]) _labels[index] = [];             _labels[index].push(label);   ...

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

1735. flashBuilder双击选中当前块的代码 [ 55%]

...,只要输入 funn 自动就给我生成整个函数结构。  public function  aa():void{} 这时候光标停留在aa,让你改方法名。其实感觉flashBuilder的效率已经很高了。就是有的时候还是不如其他编辑器,非一般的速度。 附件 : --> 2017-03-09 添加评...

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

1736. 请问laya的渲染机制是什么 [ 55%]

...      addChild(automap) 解决方案是修改AutoBitmap类中的public function set clips 实现方法 2016-06-06 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ghgmxeman 相关问题 看了其他引擎才发现 LAYA 真的太太太...

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

1737. laya.d3.physics.shape.StaticPlaneColliderShape_API3.0 [ 55%]

... cloneTo destroy updateLocalTransformations Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Inherited property Inherited method Inherited accessor Enumeration Interface

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

1738. IOS的safari浏览器打开h5项目demo,游戏场景偏移(附件有完整demo) [ 55%]

... laya.display.Text; import laya.ui.Image; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); Laya.stage.bgColor = "#235615"; //设置适配模式 Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage...

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

1739. Laya Label text不显示 [ 55%]

....sdkDomain + "sdkres/laya/native/NativeGroup.json", new Laya.Handler(this, function (group: Laya.View) { /* if (this.nativeGroup) { return; } */ self.nativeGroup = group; self.nigrop = new NativeGroup(); self.nativeGroup.addComponentIntance(self.nigrop); self.nativeGroup.zOrder = 999998; Laya.stage....

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

1740. laya.d3.core.scene.bvhscenerendermanager.BVHRenderSpatial_API3.0 [ 55%]

...temBySCI motionOne rebuild removeOne update Legend Object literal Variable Function Type alias Class Class with type parameter Method Inherited constructor Inherited method Enumeration Interface

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