大约有 2,479 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0072 秒)
Laya_社区(718) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(53)
...UG1:package ui.test { import laya.display.Sprite; import laya.utils.Tween; public class MyBox extends Sprite { private var _shape:Sprite; public function MyBox() { super(); graphics.drawRect(0,0,200,200,"#00ff00"); _shape=new Sprite(); _shape.graphics.drawCircle(0,0,20,"#ff0000"); addChild(_shape); ...
来源: Laya_社区 发布时间: 20170124
... Classes | Index | Frames No Frames PoolMethods Packagelaya.utilsClasspublic class PoolInheritancePool Object Pool 是对象池类,用于对象的存储、重复使用。 合理使用对象池,可以有效减少对象创建的开销,避免频繁的垃圾回收,从而优化游戏流畅...
来源: Laya2.0_api 发布时间: 20190513
...InputProperties | Methods | Events | Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致...
来源: laya_api 发布时间: 20170929
... Frames No Frames TreeProperties | Methods | Events Packagelaya.uiClasspublic class TreeInheritanceTree Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Prope...
来源: Laya2.0_api 发布时间: 20190513
... Frames No Frames ClipProperties | Methods | Events Packagelaya.uiClasspublic class ClipInheritanceClip UIComponent Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分割数量 clipY , 或横...
来源: Laya2.0_api 发布时间: 20190513
...Index | Frames No Frames LogProperties | Methods Packagelaya.utilsClasspublic class LogInheritanceLog Object Log 类用于在界面内显示日志记录信息。 注意:在加速器内不可使用 Public Properties PropertyDefined By autoScrollToBottom : Boolean = true[static] 是否自动...
来源: Laya2.0_api 发布时间: 20190513
...x | Frames No Frames PlaneProperties | Methods Packagelaya.d3.mathClasspublic class PlaneInheritancePlane Object Plane 类用于创建平面。 Public Properties PropertyDefined By distance : Number平面到坐标系原点的距离Plane normal : Vector3平面的向量Plane PlaneInterse...
来源: laya_api 发布时间: 20170929
...x | Frames No Frames PlaneProperties | Methods Packagelaya.d3.mathClasspublic class PlaneInheritancePlane Object Plane 类用于创建平面。 Public Properties PropertyDefined By distance : Number平面到坐标系原点的距离Plane normal : Vector3平面的向量Plane PlaneInterse...
来源: Laya2.0_api 发布时间: 20190513
...ormalColorTextureTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTextureTangentInheritanceVertexPositionNormalColorTextureTangent ObjectImplements IVertex VertexPositionNormalColorTextureTangent 类用于创建位置、法线、颜色、纹理、切线...
来源: laya_api 发布时间: 20170929
...x | Frames No Frames HitAreaProperties | Methods Packagelaya.utilsClasspublic class HitAreaInheritanceHitArea Object 鼠标点击区域,可以设置绘制一系列矢量图作为点击区域和非点击区域(目前只支持圆形,矩形,多边形) Public Properties PropertyDefined By...
来源: Laya2.0_api 发布时间: 20190513