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

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

1051. laya.display.Input_API3.0 [ 29%]

...入时的文本的位置有少许的偏差。 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

1052. 射线检测-放置物体 [ 29%]

...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

1053. laya.d3.core.scene.Scene3D_API3.0 [ 29%]

... 用于实现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

1054. laya.d3.math.Vector3 [ 29%]

...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

1055. 分享,扩展Laya.Text组件实现简单的富文本 [ 28%]

...现自定义的富文本类型) */ export class Label extends Laya.Text { constructor() { super(); } private typeList = {}; //取出文本里面的关键字 private typeIndexList = ; //关键字所在文本的位置 private typeLines = ; //利用关键字重新划分文本 private underLineWidth = 0...

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

1056. 动画-旧版骨骼动画 [ 28%]

...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

1057. 对接上架字节跳动小游戏技术指南(TypeScript-小游戏适配文档-字节跳动小游戏) [ 28%]

...ance: GameRecorderMgr; /**视频地址**/ private _videoPath: String = ""; constructor() { GameRecorderMgr.instance = this; //判断是否已初始化录屏对象 if (!this._recorder) { //判断是否为字节小游戏环境 if (Browser.onTTMiniGame) { //初始化录屏对象 this._recorder = tt.get...

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

1058. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 28%]

...于只定义类型的需求 @property(String) public text2: string = ""; constructor() { super(); } } @property()是IDE识别组件属性并显示到IDE属性面板上的装饰器标识,类型是装饰器属性标识必须携带的参数。 如果我们不需要给属性写一个tips说明,也...

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

1059. 网络通信 · LayaAir3文档 · LAYABOX [ 28%]

...功能。我们写个简单的例子来看下用法: 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

1060. laya.display.Node [ 28%]

...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