大约有 76 项符合查询结果, 库内数据总量为 30,937 项。 (搜索耗时: 0.0029 秒)
...laya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互独立;更改一个属性的值不会影响其他属性。 Public P...
来源: laya_api 发布时间: 20170929
...ods Packagelaya.utilsClasspublic class PoolInheritancePool Object Pool 是对象池类,用于对象的存贮、重复使用。 合理使用对象池,可以有效减少对象创建的开销,避免频繁的垃圾回收,从而优化游戏流畅度。 Public Methods MethodDefined By clearB...
来源: laya_api 发布时间: 20170929
...配置文件中读取,value为对应的动画模版,是一个Graphics对象数组,每个Graphics对象对应一个帧图像,动画的播放实质就是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用...
来源: laya_api 发布时间: 20170929
...nts Packagelaya.mathsClasspublic class PointInheritancePoint Object Point 对象表示二维坐标系统中的某个位置,其中 x 表示水平轴,y 表示垂直轴。 Public Properties PropertyDefined By x : Number该点的水平坐标。Point y : Number该点的垂直坐标。PointPub...
来源: laya_api 发布时间: 20170929
... EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, on...
来源: laya_api 发布时间: 20170929
... EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, on...
来源: laya_api 发布时间: 20170929
... EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, on...
来源: laya_api 发布时间: 20170603
...l : BaseMaterial 返回第一个实例材质,第一次使用会拷贝实例对象。 BaseRender materials : Vector.<BaseMaterial> 获取潜拷贝实例材质列表,第一次使用会拷贝实例对象。 BaseRender receiveShadow : Boolean 获得是否接收阴影属性 BaseRender sharedMate...
来源: laya_api 发布时间: 20170929
... EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, on...
来源: laya_api 发布时间: 20170603
... EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, on...
来源: laya_api 发布时间: 20170929