大约有 1,102 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0070 秒)
Laya_社区(444) Laya3.0_api(292) Laya_示例(112) Laya2.0_示例(80) Laya2.0_文档(61) Laya3.0_文档(51) Laya2.0_api(35) laya_api(27)
...入时的文本的位置有少许的偏差。 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
...scene: Laya.Scene; private camera: Laya.Camera; private label: Laya.Label; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; //初...
来源: Laya_示例 发布时间: 20250226
... 用于实现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
...erty public var y:NumberY轴坐标zproperty public var z:NumberZ轴坐标Constructor DetailVector3()Constructorpublic function Vector3(x:Number = 0, y:Number = 0, z:Number = 0, nativeElements:Float32Array = null) 创建一个 Vector3 实例。 Parameters x:Number (default = 0) — X轴坐标。 ...
来源: Laya2.0_api 发布时间: 20190513
...现自定义的富文本类型) */ export class Label extends Laya.Text { constructor() { super(); } private typeList = {}; //取出文本里面的关键字 private typeIndexList = ; //关键字所在文本的位置 private typeLines = ; //利用关键字重新划分文本 private underLineWidth = 0...
来源: Laya_社区 发布时间: 20180417
...n/skinModel/Zombie/old/Assets/Zombie/Model/z@back_fall-back_fall.lsani" ]; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Sc...
来源: Laya_示例 发布时间: 20250226
...ance: GameRecorderMgr; /**视频地址**/ private _videoPath: String = ""; constructor() { GameRecorderMgr.instance = this; //判断是否已初始化录屏对象 if (!this._recorder) { //判断是否为字节小游戏环境 if (Browser.onTTMiniGame) { //初始化录屏对象 this._recorder = tt.get...
来源: Laya2.0_文档 发布时间: 20210715
...于只定义类型的需求 @property(String) public text2: string = ""; constructor() { super(); } } @property()是IDE识别组件属性并显示到IDE属性面板上的装饰器标识,类型是装饰器属性标识必须携带的参数。 如果我们不需要给属性写一个tips说明,也...
来源: Laya3.0_文档 发布时间: 20250103
...功能。我们写个简单的例子来看下用法: class LayaSample { constructor() { //创建HttpRequest对象 let http: Laya.HttpRequest = new Laya.HttpRequest(); //设置超时时间 http.http.timeout = 10000; //发送了一个简单的请求 http.send("resources/data.txt", "", "get", "text")...
来源: Laya3.0_文档 发布时间: 20250104
...merproperty public var timer:Timer时间控制器,默认为Laya.timer。Constructor DetailNode()Constructorpublic function Node() Node 类用于创建节点对象,节点是最基本的元素。 Method DetailaddChild()method public function addChild(node:Node):Node 添加子节点。 Parameters ...
来源: laya_api 发布时间: 20170929