大约有 1,763 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)
Laya_社区(623) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(85) Laya2.0_api(67) laya_api(64)
...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
....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
...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
...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
...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
...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
...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
...各位读者收获满满!混淆代码的思路: 1、修改所有代码Class 类名称不要重复 2、修改全部全局属性、和至少 1/3的方法名称不要重复(这部分可以写程序去批量改) 3、打乱那些基类、工具类里面的方法顺序, 举例 Class A里面有 F...
来源: Laya_社区 发布时间: 20190613
...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
...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