大约有 3,244 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0080 秒)
Laya_社区(2446) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(77) Laya_示例(52) Laya2.0_示例(18)
...private var endTime:int; private var cdTime:int; public var isCd:Boolean = false; public function CdSprite() { super(); this.scrollRect = rect; this.alpha = 0.85; } public function setSize(bian:int):void{ r = bian / Math.SQRT2; rect = new Rectangle(0,0,bian,bian); this.scrollRect = rect; pos = bian ...
来源: Laya_社区 发布时间: 20171124
...中,相同样式字体字号的字符全局共享一份缓存,默认为false,如果字体需要频繁修改,可以勾选此项以提升性能 文本颜色 color 文本的颜色,可以直接输入颜色值,例如:#ffffff,也可以点击输入条右侧的拾色器选取颜色 样式 st...
来源: Laya3.0_文档 发布时间: 20251010
...(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //聚光灯 var spotLight = scene.addChild(new Laya.SpotLight()); spotLight.color = new Laya.Vector3(1, 1, 0); spotLight.transform.position = new Laya.Vector3(0.0, 1.2, 0.0); spo...
来源: Laya_示例 发布时间: 20251209
...Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher on...
来源: laya_api 发布时间: 20170929
...&& ms < Infinity if (valid === false) { if (typeof ms !== 'number' && typeof ms !== 'bigint') { throw TypeError('sleep: ms must be a number') ...
来源: Laya_社区 发布时间: 20201201
...ng","scaleY":1,"scaleX":1}, "nodeParent":2, "label":"Image", "isDirectory":false, "isAniNode":true, "hasChild":false, "compId":3, "child":[ ] }], "animations":[ { "nodes":[ ], "name":"ani1", "id":1, "frameRate":24, "action":0 }] } 附件 : --> 2020-04-17 添加评论 免费帖 --> 分享 微博 QZON...
来源: Laya_社区 发布时间: 20200417
...,比如1,0是沿X轴向右PrismaticJoint collideConnected : Boolean = false[首次设置有效]两个刚体是否可以发生碰撞,默认为falsePrismaticJoint destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component e...
来源: Laya2.0_api 发布时间: 20190513
...this, this.onAssetLoaded), Laya.Handler.create(this, this.onLoading, null, false), Laya.Loader.ATLAS); }; //加载完成后 p.onAssetLoaded = function() {}; //加载进度 p.onLoading = function(num) { //先添加进度组件UI if (!this.Progress) { this.Progress = new Progress(); this.i = 0; } this...
来源: Laya_社区 发布时间: 20170803
...s Defined in laya/ui/TextInput.ts:118 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115
...序文件里定义的属性的相关描述:[属性长度, 属性类型,false, 属性起始位置索引 * CONST3D2D.BYTES_PE]; this.position = [2, WebGLContext.FLOAT, false, len, 0]; this.texcoord = [2, WebGLContext.FLOAT, false, len, 2 * CONST3D2D.BYTES_PE]; ...
来源: Laya_社区 发布时间: 20170606