大约有 628 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0107 秒)
...图集最大的宽高,以及不打包的单图宽高限制标准等。各参数的意义和上文中的图集工具介绍一样的。  (图6-3) #### **如何将未使用资源不打包到图集内** `资源管理器`中的资源如果没有在项目场景中被使用,通过...
来源: Laya2.0_文档 发布时间: 20210714
... String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 Component transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋...
来源: laya_api 发布时间: 20170929
...,只会显示一个图片(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
...,只会显示一个图片(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
... String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 Component transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋...
来源: laya_api 发布时间: 20170929
...,只会显示一个图片(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, o...
来源: Laya2.0_api 发布时间: 20190513
...e initData(map:TiledMap, objectKey:Boolean = false):void 传入必要的参数,用于裁剪,跟确认此对象类型 GridSprite isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher loadImage(url:String, x:Number = 0, y:Number = 0, width:Number =...
来源: laya_api 发布时间: 20170929
...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void changeText changeText(text: string): void Defined in laya/display/Text.ts:353 deprecated Parameters text: string Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited f...
来源: Laya3.0_api 发布时间: 20231115
...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void changeText changeText(text: string): void Inherited from Text.changeText Defined in laya/display/Text.ts:353 deprecated Parameters text: string Returns void clearTimer clearTimer(caller: any, meth...
来源: Laya3.0_api 发布时间: 20231115
...否循环播放,调用play(...)方法时,会将此值设置为指定的参数值。AnimationBase mask : Sprite 遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩显示。 【注意】遮罩对象坐标系是相对遮罩对象本身的,和Flash机制...
来源: Laya2.0_api 发布时间: 20190513