大约有 3,124 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0130 秒)
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 请问下加载TFF字体要怎么加载呢? 请问layaair2.0-js 怎么用程序在list中添加多元素的item 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 请问如何让textinput...
来源: Laya_社区 发布时间: 20210121
...("datiPage.scene"); this.close(); } a和b都是独立的ts类, export default class a extends ui.a {……} 同时a和b都是对应的dialog ui文件a.scene 和b.scene的runtime属性关联过去的。
来源: Laya_社区 发布时间: 20190521
...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
...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
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 unity中的模型导出后在laya中显示不正常 我的tieldmap生成的json文件里data是这种格式...
来源: Laya_社区 发布时间: 20170608
...用Laya.HtmlVideo播放视频 * @ author:xs * @ data: 2024-03-05 16:20 */ export default class VideoDom { htmlvideo:Laya.HtmlVideo; constructor() { Laya.stage.on(Laya.Event.CLICK,this,this.onClick); } onClick(){ this.initVideo(); } initVideo() { this.htmlvideo = new Laya.HtmlVideo(); this.htmlvideo....
来源: Laya_社区 发布时间: 20240305
... Stage = Laya.Stage; import Label = Laya.Label; import WebGL = Laya.WebGL; export class UI_Label { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_...
来源: Laya_示例 发布时间: 20260824
...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