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

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

361. 编译前(AS)和编译后(JavaScript)程序的行为是不一致的,求最佳实践和原理。 [ 86%]

...的位置提醒开发者啊。package { public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var func:Function = new A().method; func(); } } } package { public class A { private var _attr:int = 123; public function A() { } public function method():void { t...

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

362. laya.ui.Label [ 86%]

...组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node  changeText(text:String):void 快速更改显示文本。不进行排版计算...

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

363. laya.utils.Browser [ 86%]

...者为0或为空,则选择后者。 Implementation     public static function get clientHeight():NumberclientWidthproperty clientWidth:Number  [read-only] 浏览器窗口可视宽度。 通过分析浏览器信息获得。浏览器多个属性值优先级为:window.innerWidth(包含滚动...

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

364. laya.map.MapLayer [ 86%]

...组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.time...

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

365. laya.ui.Tree [ 86%]

...e addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Component clearTimer(caller:*, method:Function):void 清理定时器。功能同Lay...

来源: laya_api 发布时间: 20170929

366. laya.ui.Clip [ 86%]

...e addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Component clearTimer(caller:*, method:Function):void 清理定时器。功能同Lay...

来源: laya_api 发布时间: 20170929

367. laya.physics.joint.RopeJoint [ 86%]

...elfAnchor和otherAnchor之间的最大距离 Implementation     public function get maxLength():Number    public function set maxLength(value:Number):voidotherAnchorproperty public var otherAnchor:Array[首次设置有效]链接刚体链接点,是相对于otherBody的左上角位置偏移...

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

368. laya.d3.math.Viewport [ 86%]

...public var y:NumberY轴坐标Constructor DetailViewport()Constructorpublic function Viewport(x:Number, y:Number, width:Number, height:Number) 创建一个 Viewport 实例。 Parameters x:Number — x坐标。  y:Number — y坐标。  width:Number — 宽度。  height:Number — 高度。 Method...

来源: laya_api 发布时间: 20170929

369. laya.ui.FontClip [ 86%]

...组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.time...

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

370. laya.utils.Stat [ 86%]

... : int = 0[static] 主舞台 Stage 渲染次数计数。 Stat  onclick : Function[static] [write-only] 点击性能统计显示区域的处理函数。 Stat  renderSlow : Boolean = false[static] 表示当前使用的是否为慢渲染模式。Stat  shaderCall : int = 0[static] 着色器请求...

来源: laya_api 发布时间: 20170929