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

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

411. 分享:关于自定义场景继承的实现 [ 66%]

...BaseScene.ts,继承Laya.Scene BaseScene.tsexport namespace base{ export class BaseScene extends Laya.Scene{ constructor(){ super(); console.log('BaseScene:我是基类BaseScene,我的子类是导出类,我的父类是场景类'); } } } 导出UI 导出后layaMaxUI.ts的内容如下/**This class i...

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

412. mac下用FB打包发布测试页面,chrome浏览器看不到预期显示文字 [ 66%]

... 代码如下: package {     import laya.display.Text;     public class LayaAirTest     {         public function LayaAirTest()         {             Laya.init(600, 300);             var txt:Text   = new Text();             txt.text     = "abc"+Laya....

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

413. laya.d3.core.particleshuriken.module.shape.CircleShape_API3.0 [ 66%]

...obals "laya/d3/core/particleShuriKen/module/shape/CircleShape" CircleShape Class CircleShape CircleShape 类用于创建环形粒子形状。 Hierarchy BaseShape CircleShape Implements IClone Index Constructors constructor Properties arc emitFromEdge enable radius randomDirection shapeType Accessors...

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

414. [Error] TypeError: null is not an object (evaluating 'this._style._tf') [ 65%]

...ange261, 有谁知道什么原因导致的吗? 怎样解决? Warning!,this class[MiniAdpter] already exist: Object {init: } 请问object层中添加的sprite怎么添加点击事件 IDE不能运行调试提示:Chrome error: Error:... LayaAirIDE2.2 - Laya3D init error ,must support webGL 问题状...

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

415. layaair2.0 js的程序入口在哪?跟以前的不一样了 。 [ 65%]

... QZONE 微信 张佩斌 赞同来自: 同一个bundle.js里面,有一个class Main 还有一个class Main$1 执行了一次Main,还执行了一次Main$1 , 是怎么回事呢 怎么生成的两个 2019-12-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...

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

416. laya.d3.resource.models.PrimitiveMesh_API3.0 [ 65%]

...xported Menu Globals "laya/d3/resource/models/PrimitiveMesh" PrimitiveMesh Class PrimitiveMesh PrimitiveMesh 类用于创建简单网格。 Hierarchy PrimitiveMesh Index Methods __init__ createBox createCapsule createCone createCylinder createPlane createQuad createSphere Methods Static __init__ __i...

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

417. laya.display.cmd.FillTextCmd_API3.0 [ 65%]

...nals Only exported Menu Globals "laya/display/cmd/FillTextCmd" FillTextCmd Class FillTextCmd 绘制文字 Hierarchy FillTextCmd Index Properties x y ID Accessors align color font stroke strokeColor text Methods recover create Properties x x: number = 0 Defined in laya/display/cmd/FillTextCmd.ts:19 ...

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

418. laya.d3.core.scene.bvh.BVHSpatial_API3.0 [ 65%]

... Only exported Menu Globals "laya/d3/core/scene/bvh/BVHSpatial" BVHSpatial Class BVHSpatial BVH系统 Hierarchy BVHSpatial BVHRenderSpatial Index Constructors constructor Accessors bvhSpatialBox Methods addOne cellLegal destroy getItemByCameraCullInfo getItemByFrustum getItemBySCI motionOne rebuild ...

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

419. laya.d3.component.AnimatorState_API3.0 [ 65%]

...Only exported Menu Globals "laya/d3/component/AnimatorState" AnimatorState Class AnimatorState AnimatorState 类用于创建动作状态。 Hierarchy AnimatorState Implements IReferenceCounter IClone Index Constructors constructor Properties clipEnd clipStart name speed Accessors clip Methods _addRe...

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

420. laya.d3.core.particleshuriken.module.Emission_API3.0 [ 65%]

...rted Menu Globals "laya/d3/core/particleShuriKen/module/Emission" Emission Class Emission Emission 类用于粒子发射器。 Hierarchy Emission Implements IClone Index Constructors constructor Properties enable Accessors destroyed emissionRate emissionRateOverDistance Methods addBurst clearBurst c...

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