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

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

171. laya.d3.core.BaseCamera [ 62%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BaseCameraProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class BaseCameraInheritanceBaseCamera Sprite3D Node EventDispatcher ObjectSubclasses Camera BaseCamera 类用于创建摄像机的父...

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

172. 动画-图集动画 [ 61%]

...E让项目开发更高效。let aniConfPath = "res/fighter/fighter.atlas"; class Animation_Altas { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stag...

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

173. 性能测试-虫子(慎入) [ 61%]

...0, maggotAmount = 5000, tick = 0, maggots = [], wrapBounds, maggotTexture; class PerformanceTest_Maggots { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Rectangle = Laya.Rectangle; // 不支持WebGL时自动切换至Ca...

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

174. 自定义shader-shader预编译 [ 61%]

...ithShaderDefine(73 - Laya.ShaderCompile3D.SHADERDEFINE_HIGHPRECISION,4,20);class ShaderPrecompile { constructor() { Laya3D.init(0, 0, true); //开启Shader编译调试模式,可在输出宏定义编译值。 Laya.ShaderCompile3D.debugMode = true; var sc: Laya.ShaderCompile3D = Laya.ShaderCompile3D...

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

175. 灯光-方向光 [ 61%]

...ction, _quaternion, _direction); directionLight.direction = _direction; });class DirectionLightDemo { private scene: Laya.Scene; private _quaternion: Laya.Quaternion; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE...

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

176. 【简单跑酷--JS版】---Lv.6 终篇 [ 61%]

...type_energy"; //速度类型 Hp.HP_TYPE_SPEED = "hp_type_speed"; //Hp Laya.class(Hp,"Hp", laya.display.Sprite); var _proto = Hp.prototype; _proto.init = function(type){ this.width = 180; this.height = 21; var texture1 = Laya.loader.getRes("res/hp_bg.png"); var texture2; switch (type) { case Hp.HP_TY...

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

177. laya.d3.math.Matrix4x4 [ 61%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames Matrix4x4Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Matrix4x4InheritanceMatrix4x4 ObjectImplements laya.d3.core.IClone Matrix4x4 类用于创建4x4矩阵。 Public Properties PropertyDefined ...

来源: laya_api 发布时间: 20170929

178. 粒子系统-燃烧大地 [ 61%]

...Laya.Sprite3D.load("../../res/threeDimen/particle/ETF_Burning_Ground.lh"));class Particle_BurningGround { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChi...

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

179. 粒子系统-永恒之光 [ 61%]

...(Laya.Sprite3D.load("../../res/threeDimen/particle/ETF_Eternal_Light.lh"));class Particle_EternalLight { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChil...

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

180. 3d模型的四元素怎么修改 [ 61%]

...Aaron 赞同来自: https://layaair.ldc.layabox.com/api/?category=Core&class=laya.d3.math.Quaternion   这个是四元数api 2018-02-25 0 0 分享 微博 QZONE 微信 骉 赞同来自: 楼主有什么发现?一个左手坐标系、一个右手坐标系,怎么转化? 2018-08-02 0 0 分享...

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