大约有 383 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0069 秒)
Laya_社区(166) Laya3.0_api(70) Laya2.0_api(62) laya_api(59) Laya_示例(9) Laya2.0_文档(8) Laya2.0_示例(7) Laya3.0_文档(2)
...tion = laya.display.Animation; var Stage = laya.display.Stage; var Rectangle = laya.maths.Rectangle; var Loader = laya.net.Loader; var Browser = laya.utils.Browser; var Handler = laya.utils.Handler; var WebGL = laya.webgl.WebGL; var AniConfPath = "res/1.json"; Laya.load...
来源: Laya_社区 发布时间: 20160712
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231115
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231115
...有定义,但是为啥加载不到呢 var TiledMap = Laya.TiledMap; var Rectangle = Laya.Rectangle; var Handler = Laya.Handler; var Sprite = Laya.Sprite; var MapLayer = Laya.MapLayer; Laya.init(800, 800); var map1 = new TiledMap(); map1.createMap("res/maps/scence1.json",new Rectangle(0,0,800, 800)...
来源: Laya_社区 发布时间: 20180326
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231115
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231115
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231115
...于本对象绘图区域内时,才算命中,而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区...
来源: Laya3.0_api 发布时间: 20231115
...对象 tiledMap = new TiledMap(); //创建Rectangle实例,视口区域 viewRect = new Laya.Rectangle(0,0,0,0); mX = mY = 0; //创建地图,适当的时候调用destory销毁地图 tiledMap.createMap("res/a...
来源: Laya_社区 发布时间: 20180614
... * @param isDrawRenderRect A boolean indicating whether to draw the render rectangle. When true, it starts drawing from (0,0) of the render texture and subtracts the offset of the cache rectangle. When false, it keeps the sprite's original relative position for drawing. * @param flipY Optional. If t...
来源: Laya_社区 发布时间: 20250827