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

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

431. @regClass编译报错! [ 69%]

... // src/MachineCtrl.ts   var MachineCtrl = class extends CtrlBase {     constructor() {       super();     }   };   __name(MachineCtrl, "MachineCtrl");    // src/funcccccc.ts   var funzzzzz = class {     constructor() {     }     static run(callBack, caller, time) {       new M...

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

432. laya.d3.core.trail.TrailRenderer_API3.0 [ 69%]

...染器。 Hierarchy BaseRender TrailRenderer Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors alignment awaked bounds boundsChange castShadow colorGradient destroyed distanceForSort enabled hideFlags...

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

433. laya.d3.core.pixelline.PixelLineRenderer_API3.0 [ 69%]

...器。 Hierarchy BaseRender PixelLineRenderer Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors awaked bounds boundsChange castShadow destroyed distanceForSort enabled hideFlags id lightmapIndex light...

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

434. 其他引擎的Demo-Example_04 [ 69%]

...height, slideX = w / 2, slideY = h / 2, speedInfo; class PIXI_Example_04 { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas Laya.init(w, h, WebGL); Laya.stage.alignV = Stage.ALIGN_M...

来源: Laya2.0_示例 发布时间: 20241001

435. laya.resource.Texture2DArray_API3.0 [ 69%]

...Texture2DArray 2D 纹理 数组 Hierarchy BaseTexture Texture2DArray Index Constructors constructor Properties _id depth destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gamma...

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

436. laya.d3.math.native.ConchVector3_API3.0 [ 69%]

...用于创建三维向量。 Hierarchy ConchVector3 Implements IClone Index Constructors constructor Properties elements ForwardLH ForwardRH NAN NegativeUnitX ONE UnitX UnitY UnitZ Up ZERO Accessors x y z Methods clone cloneTo fromArray setValue toDefault Clamp TransformNormal add cross distance dist...

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

437. 骨骼动画进阶(TypeScript-2D进阶篇(TS)-动画进阶) [ 69%]

...t module laya{ export class SkeletonTempletSample { templet: Laya.Templet; constructor() { Laya.WebGL.enable(); Laya.init(1000, 900); //创建动画模板 this.templet = new Laya.Templet(); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.o...

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

438. 区块地图-带动画的地图 [ 69%]

...言、LayaAirIDE让项目开发更高效。class TiledMap_AnimationTile { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(1100, 800, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALI...

来源: Laya2.0_示例 发布时间: 20241001

439. laya.ani.GraphicsAni_API3.0 [ 69%]

...csAni Class GraphicsAni Graphic动画 Hierarchy Graphics GraphicsAni Index Constructors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fill...

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

440. 2.0 beta UI Button无法获取 [ 69%]

...e ui { export class AttackUI extends View { public btn_attack:Laya.Button; constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("Attack"); } } } 扩展UI代码:   import { ui } from "../ui/layaMaxUI"; export default class AttackView extends ui.AttackUI { construc...

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