大约有 849 项符合查询结果, 库内数据总量为 30,936 项。 (搜索耗时: 0.0084 秒)
Laya_社区(528) Laya3.0_api(65) Laya2.0_api(62) laya_api(57) Laya2.0_示例(44) Laya_示例(41) Laya2.0_文档(30) Laya3.0_文档(22)
...复被折叠 要回复问题请先登录 发起人 chen541788 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 求指点3d射线碰撞和UI点击穿透的问题 如何检测Animation动画播放完毕后去执行方法? 怎么检测点是否在 graphics所绘制的区域...
来源: Laya_社区 发布时间: 20180530
... Hp.HP_TYPE_SPEED = "hp_type_speed"; //Hp Laya.class(Hp,"Hp", laya.display.Sprite); var _proto = Hp.prototype; _proto.init = function(type){ this.width = 180; this.height = 21; var texture1 = Laya.loader.getRes("res/hp_bg.png"); var texture2; switch (type) { case Hp.HP_TYPE_ENERGY: texture2 = Laya.l...
来源: Laya_社区 发布时间: 20160803
... const TiledMapFlipConstHalf = TiledMapFlipConst / 2; class GridSprite extends Laya.Sprite { constructor() { super(...arguments); this.relativeX = 0; this.relativeY = 0; this.isAloneObject = false; ...
来源: Laya_社区 发布时间: 20220627
...Protected All Inherited Externals Only exported Menu Globals "laya/display/Sprite" Sprite Class Sprite Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移...
来源: Laya3.0_api 发布时间: 20231115
... 要回复问题请先登录 发起人 z298959 相关问题 matter中layasprite怎么改变图片大小? btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 使用钢体设置防穿后仍有几率会穿透 如何设置Sprite的宽高和点击区域? 请...
来源: Laya_社区 发布时间: 20170629
...Resource is not a function //开放域层级 private static _openZone:Laya.Sprite; //开放域纹理 private static _openZoneTexture:Laya.Texture; public static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = new Laya.Sprite(); }...
来源: Laya_社区 发布时间: 20200618
...de Class SoundNode 用于播放背景音乐或者音效的节点 Hierarchy Sprite SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alp...
来源: Laya3.0_api 发布时间: 20231115
...Protected All Inherited Externals Only exported Menu Globals "laya/map/GridSprite" GridSprite Class GridSprite 地图的每层都会分块渲染处理 本类就是地图的块数据 author ... Hierarchy Sprite GridSprite Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseU...
来源: Laya3.0_api 发布时间: 20231115
...on = new Laya.Vector3(0, -1.0, -1.0); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); var layaPlane = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/staticModel/LayaPlane/LayaPlane.lh")); Laya.loader.create([ "../../res/threeDi...
来源: Laya_示例 发布时间: 20250313
...vents Packagelaya.uiClasspublic class TreeInheritanceTree Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...
来源: Laya2.0_api 发布时间: 20190513