大约有 1,253 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0046 秒)
...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
...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
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
...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
...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
...o/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameObject, .JSONObject component, System.Collections.Generic.List`1...
来源: Laya_社区 发布时间: 20180125
...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_示例 发布时间: 20250222
...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_示例 发布时间: 20250222
...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
...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