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

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

321. laya.ui.Tree [ 82%]

...ndler 单元格鼠标事件处理器。 默认返回参数(e:Event,index:int)。 Tree mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直...

来源: laya_api 发布时间: 20170929

322. laya.d3.core.particleShuriKen.module.TextureSheetAnimation [ 82%]

...创建粒子帧动画。 Public Properties PropertyDefined By  cycles : int循环次数。TextureSheetAnimation  enable : Boolean是否启用TextureSheetAnimation  enableUVChannels : intUV通道类型,0为Noting,1为Everything,待补充,暂不支持。TextureSheetAnimation  frame : FrameOve...

来源: laya_api 发布时间: 20170929

323. 缓动动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 82%]

... private function createTween():void { //"LayaBox"字符串总宽度 var w:int = 800; //文本创建时的起始x位置(>>在此使用右移运算符,相当于/2 用>>效率更高) var offsetX:int = Laya.stage.width - w >> 1; //显示的字符串 var demoString:String = "LayaBox"; var letterText:T...

来源: Laya2.0_文档 发布时间: 20210715

324. laya.display.Text [ 82%]

...Arial[static] 默认文本字体,默认为ArialText  defaultFontSize : int = 12[static] 默认文本大小,默认为12Text destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示...

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

325. 关于protobuf读取的问题,js的lists.toArrayBuffer() 该如何读取? [ 82%]

...方的例子: this.byte.writeByte(1);//写入一个字节 this.byte.writeInt16(20);//写入一个int16的数据 然后依次读取 var a:int = this.byte.getByte(); var b:int = this.byte.getInt16(); 那么如果我这样: this.byte.writeInt32(5000); var lists = []; for(var i = 0;i < 5;i++){  ...

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

326. ProtoBuf 其他消息类型怎么使用 [ 82%]

...络包体 } ///网络数据包结构头 message NetMessageHead { required int32 bMainID = 1; ///处理主类型 required int32 bAssistantID = 2;///辅助处理类型 ID required int32 bHandleCode = 3;///数据包处理代码 required int32 bReserve = 4;///保留字段 }   NetData这个消息在服...

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

327. laya.ui.Tab [ 81%]

...分割,如"item0,item1,item2,item3,item4,item5"。 UIGroup labelSize : int 表示按钮文本标签的字体大小。 UIGroup labelStroke : Number 描边宽度(以像素为单位)。 默认值0,表示不描边。 UIGroup labelStrokeColor : String 描边颜色,以字符串表示。 默...

来源: laya_api 发布时间: 20170929

328. laya.map.GridSprite [ 81%]

...为单位)。 Sprite drawCallOptimize : BooleanSprite  drawImageNum : int = 0当前GRID包含多少个TILE(包含动画)GridSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] 获得相对于stage的全局旋转值(会叠加父亲...

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

329. laya.ui.RadioGroup [ 81%]

...分割,如"item0,item1,item2,item3,item4,item5"。 UIGroup labelSize : int 表示按钮文本标签的字体大小。 UIGroup labelStroke : Number 描边宽度(以像素为单位)。 默认值0,表示不描边。 UIGroup labelStrokeColor : String 描边颜色,以字符串表示。 默...

来源: laya_api 发布时间: 20170929

330. 路径显示会添加DrawCall,每增加一条路径都会添加,有什么办法降DrawCall [ 81%]

... a.x) / Math.PI * 180; _path2.pos(a.x,a.y); this.addChild(_path2); var len:int = Math.floor(GetPathLen()/PATH_LEN)+2; SetPathArr(arr,_path); SetPathArr(arr2,_path2); //注释下面这行就正常了 _path.scrollRect = new Rectangle(0,0,(len-3)*PATH_LEN-30,58); _path2.scrollRect = new Rectangle(0,0,(...

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