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

大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0107 秒)

1491. laya.filters.IFilterActionGL [ 60%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames IFilterActionGLProperties | Methods Packagelaya.filtersInterfacepublic interface IFilterActionGL extends IFilterActionImplementors ColorFilterActionGL, FilterActionGLPublic Properties PropertyDefined By  typeMix : int...

来源: laya_api 发布时间: 20170929

1492. 自动旋转后残影 [ 60%]

...spatcher; import laya.utils.Browser; import laya.utils.Tween;     public class testVH {   protected var _tip:Sprite; public function testVH() { IEventDispatcher; Config.isAlpha = true; Config.isAntialias = true; Laya.init(0, 0,true); Laya.stage.bgColor = "#000000"; ChangeSize(); Laya.timer.once(1...

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

1493. SoundChannel 有使用说明么, [ 60%]

... layanative, - SoundChannel:获取不到 duration, position 哪里有Laya.class使用说明? 问题状态 最新活动: 2017-12-25 23:28 浏览: 768 关注: 3 人 Yangcy • 2018-03-19 16:42 需要知道音效的总时长。怎么用这个类

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

1494. 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 [ 60%]

...非你的代码有问题 代码如下 输出结果为 1   // 程序入口 class LayaSample{ private static aa:Child; private static bb:Child; constructor() { Laya.init(600,400); this.init(); } private init(){ LayaSample.aa = new Child(); LayaSample.aa.num("1"); LayaSample.bb = new Child(); LayaSamp...

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

1495. Laya.stage.mouseX; Laya.stage.mouseY取到的坐标用来赋给画曲线方法的起点;在左顶点正常,越往右下角起点就越偏移了 [ 60%]

...在左顶点正常,越往右下角起点就越偏移了 // 程序入口 class GameMain { private ps: Laya.Sprite; a: number; b: number; path: Array<number> = ; constructor() { Laya.init(1600, 1400); Laya.stage.bgColor = "#000000"; this.ps = new Laya.Sprite(); Laya.stage.on(Laya.Event.MOUSE_D...

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

1496. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 60%]

...DIE = "floor_out_die"; //Floor 是一个显示对象 继承此 Sprite Laya.class(Floor, "Floor", laya.display.Sprite); var _proto = Floor.prototype; /** * type int 1->地板默认宽度 other->随机宽度 */ _proto.init = function(type){ this.maxRight = 0; //如果不开启autoSize 父容器...

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

1497. laya.d3.terrain.Terrain [ 60%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TerrainProperties | Methods | Events Packagelaya.d3.terrainClasspublic class TerrainInheritanceTerrain Sprite3D Node EventDispatcher Object Terrain 类用于创建地块。 Public Properties Hide Inherited Public Proper...

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

1498. laya.physics.PolygonCollider_API3.0 [ 60%]

... Only exported Menu Globals "laya/physics/PolygonCollider" PolygonCollider Class PolygonCollider 2D多边形碰撞体,暂时不支持凹多边形,如果是凹多边形,先手动拆分为多个凸多边形 节点个数最多是b2_maxPolygonVertices,这数值默认是8,所以点的数量不...

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

1499. laya.components.AnimatorController2D_API3.0 [ 60%]

...d Menu Globals "laya/components/AnimatorController2D" AnimatorController2D Class AnimatorController2D 2D动画控制器 Hierarchy Resource AnimatorController2D Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsol...

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

1500. 高级应用-Laya3D与网页混合 [ 60%]

....Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Laya3DCombineHtml { constructor() { var div = Laya.Browser.window.document.createElement("div"); div.innerHTML = "此内容来源于HTML网页, 可直接在html代码中书写 - h1标签"; document.body.appendChild(div)...

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