• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 843 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0083 秒)

131. 射线检测有偏差 [ 80%]

...复被折叠 要回复问题请先登录 发起人 chen541788 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 求指点3d射线碰撞和UI点击穿透的问题 如何检测Animation动画播放完毕后去执行方法? 怎么检测点是否在 graphics所绘制的区域...

来源: Laya_社区 发布时间: 20180530

132. laya.display.Sprite_API3.0 [ 80%]

...Protected All Inherited Externals Only exported Menu Globals "laya/display/Sprite" Sprite Class Sprite Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移...

来源: Laya3.0_api 发布时间: 20231115

133. 【简单跑酷--JS版】---Lv.6 终篇 [ 80%]

... 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

134. laya.media.SoundNode_API3.0 [ 80%]

...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

135. this.bitmap.activeResource is not a function [ 80%]

...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

136. laya.map.GridSprite_API3.0 [ 80%]

...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

137. 一个动画我想设置它的大小该怎么取设置啊 [ 80%]

... 要回复问题请先登录 发起人 z298959 相关问题 matter中layasprite怎么改变图片大小? btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 使用钢体设置防穿后仍有几率会穿透 如何设置Sprite的宽高和点击区域? 请...

来源: Laya_社区 发布时间: 20170629

138. 引擎 TiledMap 居然不支持图块翻转 [ 80%]

...    const TiledMapFlipConstHalf = TiledMapFlipConst / 2;     class GridSprite extends Laya.Sprite {         constructor() {             super(...arguments);             this.relativeX = 0;             this.relativeY = 0;             this.isAloneObject = false;     ...

来源: Laya_社区 发布时间: 20220627

139. 高级应用-渲染纹理 [ 80%]

...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_示例 发布时间: 20240929

140. laya.ui.Tree [ 80%]

...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