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

大约有 2,093 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0075 秒)

841. 关于缓动函数from的一些问题记录 [ 71%]

...ext.align = "center"; letterText.valign = "middle"; var offsetPos={offsetX:100,offsetY:100}; letterText.x = Laya.stage.width - letterText.width>>1 +offsetPos.offsetX; letterText.y = 400; Laya.Tween.from(letterText,{y:100},3,Laya .Ease.backOut,new Handler(this,this.onEaseComplete),1,null,true);...

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

842. laya.resource.Texture2D [ 71%]

...nherited Public Constants ConstantDefined By FILTERMODE_BILINEAR : int = 1[static] 寻址模式_不循环。BaseTexture FILTERMODE_POINT : int = 0[static] 寻址模式_重复。BaseTexture FILTERMODE_TRILINEAR : int = 2[static] 寻址模式_不循环。BaseTexture FORMAT_ALPHA8 : int = 2[static...

来源: Laya2.0_api 发布时间: 20190513

843. Clip属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 71%]

# Clip 组件参考 ## 一、通过LayaAirIDE创建Clip组件 ###1.1 创建Clip ​ Clip 组件可用于显示位图切片动画。Clip 可以将一张图片,按横向分隔数量 clipX、竖向分隔数量 clipY,或横向分割每个切片的宽度 clipWidth、竖向分割每个切片的高度 ...

来源: Laya2.0_文档 发布时间: 20210714

844. 射线检测-点击行走 [ 71%]

...()); //初始化照相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionL...

来源: Laya_示例 发布时间: 20251219

845. 基于Cannon.js的物理系统(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 71%]

...持。 **以下为LayaAir 2.7.0beta中,支持的Cannon的功能:** - 1.CannonRigidbody3D 刚体 ​碰撞检测,碰撞过滤,运动学刚体,触发器等功能 - 2.CannonColliderShape 碰撞形状 ​CannonBoxColliderShape盒型,CannonSphereColliderShape球型以及CannonCompoundCollider...

来源: Laya2.0_文档 发布时间: 20210715

846. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 71%]

...eset():void { gRoomView.chatBox.innerHTML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay(msg:any):void { this.AddChat(msg['from_client_seatsno'], msg['from_client_name'], msg['content']); } private AddChat(seat:number, name:s...

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

847. Native1.0.1 无法连接wss [ 71%]

Native1.0.1 无法连接wss 如题, Naitve无法连接wss 示例代码如下: const url = "wss://xxx.com:8888"; this.socket = new Laya.Socket(); this.socket.endian = Laya.Byte.BIG_ENDIAN; this.socket.on(Laya.Event.OPEN, this, this.onConnectSuccess); this.socket.on(Laya.Event.CLOSE, this, this.onDis...

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

848. 对话框点击空白处无法关闭 [ 71%]

对话框点击空白处无法关闭 IDE版本1.7.15这是我在编辑模式发布的一个对话框var testUI=(function(_super){ function testUI(){ testUI.__super.call(this); } CLASS$(testUI,'ui.testUI',_super); var __proto__=testUI.prototype; __proto__.createChildren=function(){ laya.ui.Component...

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

849. [LayaAir3]sprite再次加入父对象滤镜渲染失效 [ 71%]

...Child(ctn); let drawSp = new Laya.Sprite(); drawSp.graphics.drawRect(0, 0, 100, 100, `#ffcc00`); drawSp.x = 200; drawSp.y = 200; //由 20 个项目(排列成 4 x 5 矩阵)组成的数组,灰图 var grayscaleMat: any[] = [0.3086, 0.6094, 0.0820, 0, 0, 0.3086, 0.6094, 0.0820, 0, 0, 0.3086, 0.609...

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

850. laya.ui.UIGroup [ 71%]

... 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值...

来源: Laya2.0_api 发布时间: 20190513