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

大约有 3,031 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0061 秒)

1761. laya.d3.utils.Utils3D [ 56%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Utils3DMethods Packagelaya.d3.utilsClasspublic class Utils3DInheritanceUtils3D Object Utils3D 类用于创建3D工具。 Public Methods  MethodDefined By  convert3DCoordTo2DScreenCoord(source:Vector3, out:Vector3):void...

来源: laya_api 发布时间: 20170929

1762. laya.utils.Browser [ 56%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BrowserProperties | Methods Packagelaya.utilsClasspublic class BrowserInheritanceBrowser Object Browser 是浏览器代理类。封装浏览器及原生 js 提供的一些功能。 Public Properties PropertyDefined By ...

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

1763. laya.d3.core.light.DirectionLightCom_API3.0 [ 56%]

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

1764. [LayaAir3]Laya命令行发布无法修改配置 [ 56%]

[LayaAir3]Laya命令行发布无法修改配置 @IEditorEnv.regClass() class BuildScript {     // 构建web     static async buildWeb() {         return IEditorEnv.BuildTask.start("web").waitForCompletion();     }         static async buildInner() {         let innerBuild:any = IE...

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

1765. 新手,图片加载不进去,没有报错。很疑问 [ 56%]

...rite(); this.bg1.loadImage("comp/bg.png"); this.addChild(this.bg1); } Laya.class(BackGround,"BackGround",_super); return BackGround; })(Laya.Sprite)代码我这样写可以正常显示,你试试 2017-02-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...

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

1766. Laya2.0 extends Array 有问题。 [ 56%]

Laya2.0 extends Array 有问题。 新建一个class A 继承array, 写入自己的方法,new A , 无法调用A内自己写入的方法 附件 : --> testarray.zip 2019-03-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...

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

1767. 鼠标脚本(JavaScript-3D基础(JS)-LayaAir3D之鼠标交互) [ 56%]

...猴都添加了脚本。 > **脚本类**: ```typescript export default class MouseScript extends Laya.Script3D{ constructor(){super();} //物体必须拥有碰撞组件(Collider) //当被鼠标点击 onMouseDown(e){ //console.log("点击到了我box",owner.name); //从父容器销毁我自己 ...

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

1768. Socket连接不上(已解决) [ 56%]

... laya.webgl.WebGL; //    import laya.webgl.WebGL;          public class LayaDemo      {         private var socket:Socket;         private var output:Byte;                  private var txt:Text;                  public function LayaDemo()        ...

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

1769. TS项目,,怎么获取完全限定类名,就像as的getQualifiedClassName [ 56%]

TS项目,,怎么获取完全限定类名,就像as的getQualifiedClassName TS项目,,怎么获取完全限定类名,就像as的getQualifiedClassName 2017-09-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

1770. layabox与java交互 [ 56%]

layabox与java交互 // 程序入口 class GameMain{ constructor() { Laya.init(600,400); let hh = new Laya.Text(); hh.text = "laya安卓项目2"; hh.pos(Laya.stage.width / 2 , Laya.stage.height / 2); hh.fontSize = 20; hh.color = "red"; Laya.stage.addChild(hh); } } new GameMain(); var sData={type:"t...

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