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

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

901. laya.particle.Particle2D_API3.0 [ 40%]

...cle2D Particle2D 类是2D粒子播放类 Hierarchy Sprite Particle2D Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoPlay autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anc...

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

902. laya.media.SoundNode_API3.0 [ 40%]

...播放背景音乐或者音效的节点 Hierarchy Sprite SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPl...

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

903. laya.display.Sprite_API3.0 [ 40%]

... Particle2D PhysicsDebugDraw SpineSkeleton UIComponent DialogManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blen...

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

904. CheckBox属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 40%]

...vate skin1:string = "checkbox.png"; private skin2:string = "checkbox.png"; constructor() { //初始化引擎,设置宽高并开启WebGL渲染模式 Laya.init(600,400,Laya.WebGL); //设置舞台背景颜色 Laya.stage.bgColor = "#ffffff"; //加载资源成功后,执行onLoaded回调方法 Laya.lo...

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

905. LayaAirIDE 2.0 laya.wxmini.js 第3行报错! 创建3D项目(TypeScript),导出微信小游戏,选择了JS混淆,崩溃在 laya.wxmini.js 第3行,错误如下 [ 40%]

...不会遇到这样问题。 然后再在 Main.ts 里面  class main 的 constructor 函数内末尾 加几句不痛不痒的如下的内容,再导出微信小游戏,就会报上面的错           if (Laya.Browser.onWeiXin) {             //微信内             ...

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

906. [0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. [ 40%]

...Laya.Stat; var SpineTemplet = Laya.SpineTemplet; class SpineBinary {     constructor() {         this.aniPath = "res/powerup-pro.skel";         this.index = -1;         // Laya.init(Browser.width, Browser.height, WebGL);         // Laya.stage.scaleMode = Stage.SCALE_NOSCALE;     ...

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

907. localRotationEulerY旋转位置错误 [ 40%]

...  private newScene: Laya.Scene3D;     private arr: any;     constructor() {         super();         this.arr = [];         this.newScene = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D;          //初始化照相机         va...

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

908. rigidBody.applyForce 对刚体应用力,物体没有移动 [ 40%]

...行: //问题在 addSphere 方法 class PhysicsWorldBaseCollider{     constructor(){         //初始化引擎         Laya3D.init(0, 0);         //设置画布模式         Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;         Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;...

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

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

...宽度 * @param align 水平排列方式 * @param padding 间距 */ public constructor(resFix: string, width: number, align: string = "left",padding: number=0) { super(); this.width = width; this.resFix = resFix; this._align = align; this._padding = padding; } /** * 字间距 */ public set padding(v...

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

910. laya.ui.DialogManager_API3.0 [ 40%]

...r属性,可以更改弹出的层次 Hierarchy Sprite DialogManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize closeEffectHandler hitTestPrior lockLayer maskLayer mouseThrough name popupEffectHandler tag drawtocanvCtx Accessors _isHeightSet _isWi...

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