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

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

1001. 2D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 23%]

...可通过Stat.FPS查看当前帧频。 Laya.timer.loop执行频率依赖于参数指定时间。 Laya.timer.frameLoop(1, this, this.animateFrameRateBased); Laya.stage.on("click", this, this.dispose); dispose() { Laya.timer.clear(this, this.animateFrameRateBased); } 当一个对象的生命周期结...

来源: Laya3.0_文档 发布时间: 20251010

1002. laya.ui.Panel [ 23%]

... String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 Component transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋...

来源: laya_api 发布时间: 20170929

1003. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 22%]

... Component.onReset Defined in laya/components/Component.ts:270 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited...

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

1004. laya.display.Input [ 22%]

...,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取消。 Sprite localToGlobal(point:Point, createNewPoint:Boolean = false, globalNode:Sprite = null):Point 把本地坐标转换为相对stage的全局坐标。 Sprite off(type:String, caller:*, listener:Function, onc...

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

1005. laya.d3.core.ui3d.UI3D_API3.0 [ 22%]

... Component.onReset Defined in laya/components/Component.ts:270 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited...

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

1006. laya.ui.View [ 21%]

...,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取消。 Sprite localToGlobal(point:Point, createNewPoint:Boolean = false, globalNode:Sprite = null):Point 把本地坐标转换为相对stage的全局坐标。 Sprite off(type:String, caller:*, listener:Function, onc...

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

1007. laya.ui.Box [ 21%]

... String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 Component transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋...

来源: laya_api 发布时间: 20170929

1008. laya.html.dom.HTMLDivElement [ 21%]

...,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取消。 Sprite localToGlobal(point:Point, createNewPoint:Boolean = false, globalNode:Sprite = null):Point 把本地坐标转换为相对stage的全局坐标。 Sprite off(type:String, caller:*, listener:Function, onc...

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

1009. laya.display.FrameAnimation [ 20%]

...否循环播放,调用play(...)方法时,会将此值设置为指定的参数值。 AnimationPlayerBase mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩显示。 【注意】遮罩对象坐标系是相对遮罩对象本身的,和Flash...

来源: laya_api 发布时间: 20170929

1010. laya.ui.VBox [ 20%]

... String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 Component transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋...

来源: laya_api 发布时间: 20170929