大约有 1,276 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0064 秒)
...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
... = 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
...方式处理界面时,有些 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
...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
...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
...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
...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
...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
...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
...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