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

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

1101. 2.3.0beta 各种bug [ 51%]

...物理引擎碰撞被禁用的,需要重新开启 修改 laya.d3.js   class PhysicsCollider extends PhysicsTriggerComponent {      constructor(collisionGroup = Physics3DUtils.COLLISIONFILTERGROUP_DEFAULTFILTER, canCollideWith = Physics3DUtils.COLLISIONFILTERGROUP_ALLFILTER) {      super(c...

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

1102. ProgressBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 51%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VSlider)。 ​ ProgressBar 组件的资源示例: ​ ![图片0.png](img/1.png) ​ (图1) ​ ![图片0.png](img/2.png) ​ (图2) ​ 设置 ProgressBar 组件的属性 value 的值为 0.3 后,显...

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

1103. 用Socket连接服务器,服务端显示已经有登录,但Event.OPEN没有触发 [ 51%]

...t.Socket;     import laya.utils.Byte;               public class CConnector extends Socket     {         protected var sendBuf:Byte = null;         protected var recvBuf:Byte = null;                  public function CConnector()         { ...

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

1104. laya.components.Script [ 51%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ScriptProperties | Methods Packagelaya.componentsClasspublic class ScriptInheritanceScript Component Object Script 用于创建脚本的父,该为抽象,不允许实例。 组件的生命周期 Public Pro...

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

1105. laya.ani.AnimationPlayer [ 51%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationPlayerProperties | Methods | Events Packagelaya.aniClasspublic class AnimationPlayerInheritanceAnimationPlayer EventDispatcher ObjectImplements laya.resource.IDestroy AnimationPlayer 用于动画播放器。...

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

1106. 画了一个封闭的曲线,获取鼠标点击处的像素,为何坐标对不上导致拿不到正确位置的Texture? [ 51%]

...vas; import laya.resource.Texture; import rain.core.StageReferance; public class Main { private var _view:Sprite; public function Main() { Config.isAntialias = true;//抗锯齿 //初始化引擎 Laya.init(1024, 768); //Stat.show(); Laya.stage.bgColor = "#ccc"; Laya.stage.scaleMode = Stage.SCALE_SHOW...

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

1107. laya.d3.core.light.DirectionLightCom_API3.0 [ 51%]

...rted Menu Globals "laya/d3/core/light/DirectionLightCom" DirectionLightCom Class DirectionLightCom DirectionLight 用于创建平行光。 Hierarchy Light DirectionLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed en...

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

1108. 分享:图集资源做位图文本的工具(知道fontclip组件的可以略过了,之前一直没注意到这个组件) [ 51%]

...据实际情况修改。有需要的可以参考下/* * 位图字体; */ class BPFont extends Laya.Sprite { // 文本内容 private _text: string; // 水平排列方式 private _align: string; // 资源前缀 private resFix: string; // 间距 private _padding: number; // 位图集合 private chars: ...

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

1109. 为什么自定义shader大图正常,小图就被缩小了 [ 51%]

...s.iNum = 0; function myShaderSprite() { myShaderSprite.super(this); } Laya.class(myShaderSprite, "myShaderSprite", _super); /* 初始化此 texture纹理对象 vb顶点数组 ib顶点索引数组 */ myShaderSprite.prototype.init = function(texture,width_Size,height_Size,vb,ib){ this.vBu...

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

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

...混排谷歌浏览器查看正常打包后的APP文字消失表情变大 class CAffiche { private textfiled:Laya.HTMLDivElement; public Reset():void { gRoomView.chatBox.innerHTML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay...

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