大约有 933 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0044 秒)
Laya3.0_api(529) Laya_社区(127) Laya2.0_api(101) laya_api(89) Laya3.0_文档(45) Laya2.0_文档(26) Laya2.0_示例(10) Laya_示例(6)
...artDrag(area:Rectangle = null, hasInertia:Boolean = false, elasticDistance:Number = 0, elasticBackTime:int = 300, data:* = null, disableMouseEvent:Boolean = false, ratio:Number = 0.92):void { 2018-05-02 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复...
来源: Laya_社区 发布时间: 20180428
...orm uvs vertices Methods getBounds Properties canvasPadding canvasPadding: number = 1 Defined in laya/ani/bone/canvasmesh/MeshData.ts:43 扩展像素,用来去除黑边 indexes indexes: Uint16Array = new Uint16Array([0, 1, 3, 3, 1, 2]) Defined in laya/ani/bone/canvasmesh/MeshData.ts:28 顶点索引 ...
来源: Laya3.0_api 发布时间: 20231115
...lic target: Laya.Sprite3D; private camera: Laya.Camera; public distanceUp: number = 0.5;//相机与目标的竖直高度参数 public distanceAway: number = 10;//相机与目标的水平距离参数 public smooth: number = 2;//位置平滑移动插值参数值 public camDepthSmooth: number = 20 publ...
来源: Laya3.0_文档 发布时间: 20251010
...te(): void { // 组装tree的数据 var treeData: string = ""; for (var i: number = 0; i "; for (var j: number = 0; j "; } treeData += ""; } treeData += ""; // 解析tree的数据 var xml:any = Utils.parseXMLFromString(treeData); var tree: Tree = new Tree(); tree.scrollBarSkin = "res/ui/vscroll.png"...
来源: Laya2.0_文档 发布时间: 20210714
...ls/WeakObject.ts:17 全局WeakObject单例 Static delInterval delInterval: number = 10 * 60 * 1000 Defined in laya/utils/WeakObject.ts:15 如果不支持WeakMap,则多少时间清理一次缓存,默认10分钟清理一次 Static supportWeakMap supportWeakMap: boolean = false Defined in laya/util...
来源: Laya3.0_api 发布时间: 20231115
...件,不能连续点击同一index的选项 private onSelect(index: number): void { console.log("当前选择的索引:" + index); let checkBoxItem:Laya.CheckBox = this._list.getChildAt(index).getChildAt(0) as Laya.CheckBox; if(checkBoxItem!=null){ ...
来源: Laya_社区 发布时间: 20241014
...s calculateBoundsintersection calculateBoundsintersection(bounds: Bounds): number Defined in laya/d3/math/Bounds.ts:204 Parameters bounds: Bounds Returns number -1为不相交 不为0的时候返回值为相交体积 clone clone(): any Defined in laya/d3/math/Bounds.ts:221 克隆。 Returns any 克...
来源: Laya3.0_api 发布时间: 20231115
... 代码如下:public function Food(dishName:String, type:String, index:Number){ this.dishName = dishName; this.type = type; this.index = index; this.setPath(); this.on(Event.MOUSE_DOWN, Food, test); } private function test():void{ trace("test"); }求高手指点啊,有没有好的办法完成这...
来源: Laya_社区 发布时间: 20180407
...tic sciContainsBox sciContainsBox(box: Bounds, cullInfo: IShadowCullInfo): number Inherited from BVHSpatialBox.sciContainsBox Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:26 包围盒和阴影相机的关系 Parameters box: Bounds cullInfo: IShadowCullInfo Returns number 0: 不相交,1:包...
来源: Laya3.0_api 发布时间: 20231115
...on,而不是html路径 我应该如何处理 把textInput的type设置为number的时候无法设置最多能输入的字数 TextInput在手机上文字输入位置不对 layaFlsh 怎么不自动横屏 Input输入文本的restrict限制输入的字符怎么使用? 问题状态 最新活动: 2018...
来源: Laya_社区 发布时间: 20180420