大约有 1,873 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)
Laya_社区(617) Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya2.0_文档(88) Laya_示例(78) Laya3.0_文档(73) Laya2.0_示例(68)
... Laya.WebGL; export class HelloLayabox { private txt: Text; private prevX: number = 0; private prevY: number = 0; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.AL...
来源: Laya2.0_文档 发布时间: 20210715
...Calculate(a:Laya.Vector3, b:Laya.Vector3, c:Laya.Vector3) { let d_a:number = Laya.Vector3. distance(b, c); let d_b:number = Laya.Vector3. distance(a, c); let d_c:number = Laya.Vector3.distance(a, b); //angleA表示A点的夹角 let angleA = Math.acos((d_b...
来源: Laya_社区 发布时间: 20191223
... "#FF7F50", 210, 290); } private createText(align: string, underlineWidth: number, underlineColor: string, x: number, y: number): Text { var txt: Text = new Text(); txt.text = "Layabox\n是HTML5引擎技术提供商\n与优秀的游戏发行商\n 面向AS/JS/TS开发者提供HTML5开发技术方案"...
来源: Laya_示例 发布时间: 20260303
...rowHeight); } }class DOM_Form{ private form:Laya.Sprite; private rowHeight:number = 30; private rowSpacing:number = 10; constructor() { Laya.init(600,400); Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya....
来源: Laya_示例 发布时间: 20260303
...造函数的监听,这样就没有引用了吧 var testUI:TestUI for(var i:number = 0,len:number = 2000;i < len;i++){ testUI = new TestUI(); Laya.stage.addChild(testUI); Laya.stage.destroyChildren(); } testUI = null; 再写个循环掉用2000次,内存涨了24M,等了很久也没有降,这是正...
来源: Laya_社区 发布时间: 20171103
...* @default 1 */ public static var musicVolume:Number = 1; /** * 音效音量。 * @default 1 */ public static var soundVolume:Number = 1; 2018-04-26 0 0 分享 微博 QZONE 微信 fool_tiger 赞同...
来源: Laya_社区 发布时间: 20180426
...主要属性和方法 > 属性 `tintColor:Vector4` 颜色。 `exposure:Number` 曝光强度。 `textureCube:TextureCube` 天空盒纹理。 #### 创建和使用材质 下面的代码来自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Sky&name...
来源: Laya2.0_文档 发布时间: 20210715
...径 */ public function set radius(value:Number):void /** * 设置高度(改变此属性会重新生成顶点和索引) * @param value 高度 */ public function set height(value:Number):void ...
来源: Laya_社区 发布时间: 20180505
...rser.ts:16 Returns UBBParser Properties defaultImgHeight defaultImgHeight: number = 0 Defined in laya/html/UBBParser.ts:14 defaultImgWidth defaultImgWidth: number = 0 Defined in laya/html/UBBParser.ts:13 lastColor lastColor: string Defined in laya/html/UBBParser.ts:15 lastSize lastSize: string Defin...
来源: Laya3.0_api 发布时间: 20231115
typeScript 在interface 接口中怎么用get set function get time():Number; function set time(value:Number):void; 类似于as3 中的这种写法。 2017-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Mon...
来源: Laya_社区 发布时间: 20171017