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

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

1481. laya.d3.core.particleShuriKen.module.GradientVelocity [ 60%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames GradientVelocityProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class GradientVelocityInheritanceGradientVelocity ObjectImplements laya.d3.core.IClone GradientVelocity 类用于创建渐变速...

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

1482. 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

1483. laya.physics.BoxCollider_API3.0 [ 60%]

...xternals Only exported Menu Globals "laya/physics/BoxCollider" BoxCollider Class BoxCollider 2D矩形碰撞体 Hierarchy ColliderBase BoxCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enable...

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

1484. laya.utils.Browser_API3.0 [ 60%]

...nherited Externals Only exported Menu Globals "laya/utils/Browser" Browser Class Browser Browser 是浏览器代理类。封装浏览器及原生 js 提供的一些功能。 Hierarchy Browser Index Properties PLATFORM_ANDROID PLATFORM_IOS PLATFORM_PC canvas context onAlipayMiniGame onAndroid onBDMin...

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

1485. 3D中摄像机绕物体旋转该如何实现? [ 60%]

...ewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary&...

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

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

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

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

1487. 自动旋转后残影 [ 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

1488. 两个对象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

1489. 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

1490. 【简单跑酷--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