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

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

451. Sprite-旋转缩放 [ 69%]

...nt = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_RoateAndScale { private ape: Sprite; private scaleDelta: number = 0; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV...

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

452. 滤镜-模糊滤镜 [ 69%]

... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Filters_Blur { private apePath: string = "res/apes/monkey2.png"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.AL...

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

453. [LayaAirIDE3]【插件开发】配置方式可以生成非常复杂的界面的部分疑惑 [ 69%]

...方式处理界面时,有些 inspector 不知道如何配置使用。   export class SplitAtlasDialog extends IEditor.Dialog { async create() { let panel = IEditor.GUIUtils.createInspectorPanel(); let data = Editor.getSettings("SplitAtlasSetting").data; panel.allowUndo = true; panel.inspect(data,...

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

454. laya.d3.resource.models.PrimitiveMesh_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/models/PrimitiveMesh" PrimitiveMesh Class PrimitiveMesh PrimitiveMesh 类用于创建简单网格。 Hierarchy PrimitiveMesh Index Methods __init__ createBox createCapsule createCone cr...

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

455. laya.display.cmd.FillTextCmd_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/FillTextCmd" FillTextCmd Class FillTextCmd 绘制文字 Hierarchy FillTextCmd Index Properties x y ID Accessors align color font stroke strokeColor text Methods recover create Propertie...

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

456. laya.d3.core.scene.bvh.BVHSpatial_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/scene/bvh/BVHSpatial" BVHSpatial Class BVHSpatial BVH系统 Hierarchy BVHSpatial BVHRenderSpatial Index Constructors constructor Accessors bvhSpatialBox Methods addOne cellLegal destroy get...

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

457. 区块地图-带动画的地图 [ 69%]

...ya.TiledMap; import Rectangle = Laya.Rectangle; import WebGL = Laya.WebGL; export class TiledMap_AnimationTile { private tiledMap: TiledMap; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(1100, 800, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_...

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

458. laya.d3.component.AnimatorState_API3.0 [ 69%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/AnimatorState" AnimatorState Class AnimatorState AnimatorState 类用于创建动作状态。 Hierarchy AnimatorState Implements IReferenceCounter IClone Index Constructors constructor...

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

459. LayaAir 2.0 TS版编译出错GameConfig跟创建项目时生成的内容不一致了 [ 69%]

...let" import DropBox from "./script/DropBox" /* * 游戏初始化配置; */ export default class GameConfig{ static width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static startScene:string="test/TestScene.scene"; static sceneRoot:str...

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

460. laya.d3.core.particleshuriken.module.Emission_API3.0 [ 69%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/Emission" Emission Class Emission Emission 类用于粒子发射器。 Hierarchy Emission Implements IClone Index Constructors constructor Properties enable Accessor...

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