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

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

531. layaMaxUI里面的ui继承不到 [ 66%]

...容相关的链接 提交 2 个回复 tea 赞同来自: 不清楚为啥  export default class gameMain extends ui.test.gameMain 这样也不行 2018-11-15 0 0 分享 微博 QZONE 微信 lsx968542 赞同来自: 是不是没有导入文件 import { ui } from "./ui/layaMaxUI"; 2018-11-16 0 1 分享 ...

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

532. Laya2.0引包问题!!! [ 66%]

...0引包问题!!! import { FairyUtils } from './../utils/FairyUtils'; export class BaseSprite extends fairygui.GComponent TypeError: Object prototype may only be an Object or null: undefined preload.js:55 at setPrototypeOf (<anonymous>) 2019-02-27 添加评论 免费帖 --> 分享 微博 ...

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

533. laya.d3.resource.models.SkyBox_API3.0 [ 66%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/models/SkyBox" SkyBox Class SkyBox SkyBox 类用于创建天空盒。 Hierarchy GeometryElement SkyBox Index Constructors constructor Properties _geometryElementOBj instance Accessors b...

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

534. 性能测试-卡通人物 [ 66%]

...andler = Laya.Handler; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class PerformanceTest_Cartoon { private colAmount = 100; private extraSpace = 50; private moveSpeed = 2; private rotateSpeed = 2; private characterGroup: Array; constructor() { // 不支持WebGL时自动切换至Canvas...

来源: Laya_示例 发布时间: 20250221

535. Sprite-节点控制 [ 66%]

...nt = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_NodeControl { private ape1: Sprite; private ape2: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.AL...

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

536. 小白求助,为何这个工程的 onOpened 没有执行 [ 66%]

... import {ui} from "../ui/layaMaxUI"; import MyDialogUI = ui.MyDialogUI;  export class MyDialog extends MyDialogUI { constructor() { super(); }  onOpened(param: any): void { console.log("mylog------" ); } } 附件 : --> 示例工程.zip 2019-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

537. 骨骼动画-适配版Spine [ 66%]

...适用结尾为.skel的资源 import SpineSkeleton = Laya.SpineSkeleton; export class SpineBinary { private aniPath = "res/bone/spineboy-pma.skel"; private templet:SpineTemplet; private skeleton:SpineSkeleton; private index: number = -1; constructor() { Laya.init(Browser.width, Browser.height, WebGL...

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

538. laya.filters.ColorFilter_API3.0 [ 66%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/filters/ColorFilter" ColorFilter Class ColorFilter ColorFilter 是颜色滤镜。使用 ColorFilter 类可以将 4 x 5 矩阵转换应用于输入图像上的每个像素的 RGBA 颜色和 Alpha ...

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

539. laya.d3.graphics.MeshInstanceGeometry_API3.0 [ 66%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/graphics/MeshInstanceGeometry" MeshInstanceGeometry Class MeshInstanceGeometry Hierarchy GeometryElement MeshInstanceGeometry Index Constructors constructor Properties _geometryElementOBj Access...

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

540. laya.d3.core.pixelline.PixelLineFilter_API3.0 [ 66%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/pixelLine/PixelLineFilter" PixelLineFilter Class PixelLineFilter PixelLineFilter 类用于线过滤器。 Hierarchy GeometryElement PixelLineFilter Index Constructors constructor Properties...

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