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

大约有 1,763 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)

261. 2D物理-仿生机器人 [ 76%]

...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_Strandbeests { constructor() { this.scale = 2.5; this.pos = [500, 400]; this.m_offset = [0, -80 * this.scale]; this.pivot = [0, 8 * this.scale]; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, ...

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

262. UI-Slider [ 76%]

....VSlider; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Slider { constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL...

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

263. 高级应用-闪光 [ 76%]

...Math.sin(scaleValue * 20) * 2; glitter.addGlitterByPositions(pos1, pos2); }class GlitterDemo { private glitter: Laya.Glitter; private pos1: Laya.Vector3; private pos2: Laya.Vector3; private scaleDelta: number = 0; private scaleValue: number = 0; constructor() { Laya3D.init(0, 0, true); Laya.stage.sc...

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

264. laya.d3.component.staticmesh.StaticBatchSubInfo_API3.0 [ 76%]

...obals "laya/d3/component/staticmesh/StaticBatchSubMesh" StaticBatchSubInfo Class StaticBatchSubInfo Hierarchy StaticBatchSubInfo Index Constructors constructor Properties indexCount indexStart meshBounds needRender Constructors constructor new StaticBatchSubInfo(): StaticBatchSubInfo Defined in laya...

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

265. laya.d3.component.AnimatorPlayState_API3.0 [ 76%]

...orted Menu Globals "laya/d3/component/AnimatorPlayState" AnimatorPlayState Class AnimatorPlayState AnimatorPlayState 类用于创建动画播放状态信息。 Hierarchy AnimatorPlayState Index Constructors constructor Accessors animatorState duration normalizedTime Constructors constructor new Anim...

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

266. laya.d3.core.scene.bvh.BVHSpatialManager_API3.0 [ 76%]

...ted Menu Globals "laya/d3/core/scene/bvh/SpatialManager" BVHSpatialManager Class BVHSpatialManager 接受空间分割管理的逻辑对象 容器 Hierarchy BVHSpatialManager Index Constructors constructor Methods clear destroy Constructors constructor new BVHSpatialManager(): BVHSpatialManager Defin...

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

267. UI-ProgressBar [ 76%]

...gressBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ProgressBar { private progressBar: ProgressBar; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; La...

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

268. 微信小游戏提审后,提示说代码侵权 [ 76%]

...各位读者收获满满!混淆代码的思路: 1、修改所有代码Class 类名称不要重复 2、修改全部全局属性、和至少 1/3的方法名称不要重复(这部分可以写程序去批量改) 3、打乱那些基类、工具类里面的方法顺序, 举例 Class A里面有 F...

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

269. 文本-多行输入 [ 76%]

...ya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_InputMultiline { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER...

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

270. laya.d3.renderobjs.renderobj.FastSinglelist_API3.0 [ 76%]

...als "laya/d3/RenderObjs/RenderObj/RenderGeometryElementOBJ" FastSinglelist Class FastSinglelist<T> Type parameters T Hierarchy SingletonList<T> FastSinglelist Index Constructors constructor Methods destroy indexof Constructors constructor new FastSinglelist(): FastSinglelist Inherited fr...

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