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

大约有 266 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0080 秒)

241. laya.ui.Dialog_API3.0 [ 43%]

...aya.utils.Handler; class Dialog_Example { private dialog: Dialog_Instance; constructor() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/btn_close.png", Handler.create(this, this.onLoadComplete));//加...

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

242. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 43%]

...egClass() export class DemoPreviewPlugin extends IEditorEnv.AssetPreview { constructor() { super(); this.sprite.graphics.drawCircle(100, 100, 50, "#ffff00"); this.sprite.size(100, 100); } async setAsset(asset: IEditorEnv.IAssetInfo): Promise<any> { this.renderTarget = this.sprite; } } 显示...

来源: Laya3.0_文档 发布时间: 20241014

243. laya.ui.FontClip_API3.0 [ 43%]

...ntClip.value = "a1326";//显示"a1326"文字 Hierarchy Clip FontClip Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anch...

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

244. laya.display.Input_API3.0 [ 42%]

...入时的文本的位置有少许的偏差。 Hierarchy Text Input Index Constructors constructor Properties _extra _onPostLayout _ownGraphics _parseEscapeChars _scene _skinBaseUrl _url autoSize hitTestPrior ignoreLang mouseThrough name tag ELLIPSIS HIDDEN RightToLeft SCROLL SHRINK TYPE_DATE TYPE_DA...

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

245. socket大型项目回调 [ 42%]

...te reqId:number = 0; private _package:IPackage; private _message:IMessage; constructor(){ if(!console.group){ console.group = console.log; console.groupEnd = function(){console.log("----")}; console.info = console.log; console.warn = console.log; console.error = console.log; } this._message = new Me...

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

246. laya.d3.core.scene.Scene3D_API3.0 [ 42%]

... 用于实现3D场景。 Hierarchy Sprite Scene3D Implements ISubmit Index Constructors constructor Properties _ShadowMapupdateFrequency _extra _ownGraphics _reflectionsIblSamples _reflectionsResolution _reflectionsSource _scene _sceneUniformData _skinBaseUrl _sundir _url autoSize currentCreationLay...

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

247. laya.ui.ProgressBar_API3.0 [ 42%]

...生改变: value=", value); } } Hierarchy UIComponent ProgressBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX...

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

248. laya.ui.ScrollBar_API3.0 [ 42%]

....ui.HScrollBar Hierarchy UIComponent ScrollBar VScrollBar HScrollBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough nam...

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

249. laya.ui.Slider_API3.0 [ 42%]

...der see laya.ui.VSlider Hierarchy UIComponent Slider HSlider VSlider Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInH...

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

250. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 42%]

...athLength: number; private startPoint: Vector2; private endPoint: Vector2; constructor() { //初始化引擎 Laya3D.init(0, 0); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; //显示性能面板 Stat.show(); this.path = []; this.startPoint = new Vector2(); this....

来源: Laya3.0_文档 发布时间: 20230303