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

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

301. laya.layagl.QuickTestTool_API3.0 [ 75%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/layagl/QuickTestTool" QuickTestTool Class QuickTestTool ... author ww Hierarchy QuickTestTool Index Constructors constructor Properties _renderType _repaint _x _y Methods render __init__ enableQuic...

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

302. 2.0版本,Particle2D is not a constructor [ 74%]

2.0版本,Particle2D is not a constructor export default class RunMain extends Laya.Sprite{ constructor(){ super(); Laya.loader.load([{url:"res/213.part",type:Laya.Loader.JSON}],Laya.Handler.create(this,this.onAssetsLoaded)); } onAssetsLoaded(){ let pg = Laya.loader.getRes("res/213.part"); let pd...

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

303. laya.d3.core.FloatKeyframe_API3.0 [ 74%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/FloatKeyframe" FloatKeyframe Class FloatKeyframe FloatKeyFrame 类用于创建浮点关键帧实例。 Hierarchy Keyframe FloatKeyframe Implements IClone Index Constructors constructor Prop...

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

304. laya.particle.emitter.EmitterBase_API3.0 [ 74%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/particle/emitter/EmitterBase" EmitterBase Class EmitterBase EmitterBase 类是粒子发射器类 Hierarchy EmitterBase Index Properties minEmissionTime Accessors emissionRate particleTemplate Metho...

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

305. 文本对齐与自动换行(TypeScript-LayaAir基础篇(TS)-文本) [ 74%]

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

来源: Laya2.0_文档 发布时间: 20210714

306. 屏幕适配-缩放-Extract Fit [ 74%]

...IT();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_EXTRACT_FIT { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_EXACTFIT; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCan...

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

307. 屏幕适配-缩放-Show All [ 74%]

...LL();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_SHOW_ALL { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCantral...

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

308. laya.d3.component.PostProcess_API3.0 [ 74%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/PostProcess" PostProcess Class PostProcess PostProcess 类用于创建后期处理组件。 Hierarchy PostProcess Index Constructors constructor Accessors cameraDepthTextureMode effect...

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

309. laya.net.LocalStorage_API3.0 [ 74%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/LocalStorage" LocalStorage Class LocalStorage LocalStorage 类用于没有时间限制的数据存储。 Hierarchy LocalStorage Index Properties _baseClass items support Methods clear getItem g...

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

310. 区块地图-PerspectiveWall [ 74%]

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

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