大约有 1,840 项符合查询结果, 库内数据总量为 30,782 项。 (搜索耗时: 0.0050 秒)
Laya_社区(603) Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya2.0_文档(88) Laya_示例(78) Laya2.0_示例(68) Laya3.0_文档(54)
...小游戏在编译时候报错。VM274:1 gameThirdScriptError Unexpected number in JSON at position 1;at api readFile success callback function SyntaxError: Unexpected number in JSON at position 1 2018-06-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20180608
...(url:String, img:Texture):void { if (url === _skin && img) { var w:Number = _clipWidth || Math.ceil(img.sourceWidth / _clipX); var h:Number = _clipHeight || Math.ceil(img.sourceHeight / _clipY); var key:String = _skin + w + h; key这样得到真的ok吗? aaa2 + 2 + 22 aaa + 22 + ...
来源: Laya_社区 发布时间: 20171128
... setData(data:*, bufferOffset:int = 0, dataStartIndex:int = 0, dataCount:Number = 4294967295):void 设置数据。 IndexBuffer3DProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By detoryResource():void[override] IndexBuffer3D recreateResource():...
来源: laya_api 发布时间: 20170929
...YPE_ATTRIBUTE INSTANCETYPE_UNIFORMBUFFER Methods clear getPropertyArray setNumberArray setVector2Array setVector3Array setVectorArray Constructors constructor new MaterialInstancePropertyBlock(): MaterialInstancePropertyBlock Defined in laya/d3/core/render/command/MaterialInstancePropertyBlock.ts:33...
来源: Laya3.0_api 发布时间: 20231115
...llison:Boolean):void { _layerCollsionMatrix[layer1.number][(Layer.maxCount - 1) - layer2.number] = collison; } 自己开启两个层的碰撞,如需多个层互相检测,需要多重开启 2018-05-23 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20180522
...ed in laya/components/KeyFrame2D.ts:30 帧里面的具体数据 time time: number Defined in laya/components/KeyFrame2D.ts:28 时间。 Static defaultWeight defaultWeight: number = 0.33333 Defined in laya/components/KeyFrame2D.ts:26 Methods clone clone(): Keyframe2D Defined in laya/components/KeyFra...
来源: Laya3.0_api 发布时间: 20231115
...age.bgColor = "#232628"; this.setup(); } private setup(): void { var vGap: number = 200; this.rotateTimeBasedText = this.createText("基于时间旋转", Laya.stage.width / 2, (Laya.stage.height - vGap) / 2); this.rotateFrameRateBasedText = this.createText("基于帧频旋转", this.rotateTimeBasedT...
来源: Laya_示例 发布时间: 20241120
...ell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); console.log("目的是哪一关" + this.box_arr[index]); //被点击的节点 this.guaqia...
来源: Laya_社区 发布时间: 20210122
...Text; constructor() { this.setup(); } private setup(): void { var gap: number = 10; //创建一个Sprite充当音效播放按钮 var soundButton: Sprite = this.createButton("播放音效"); soundButton.x = (Laya.stage.width - soundButton.width * 2 + gap) / 2; soundButton.y = (Laya.stage.height...
来源: Laya_社区 发布时间: 20190421
... */ public function drawToCanvas(canvasWidth:Number, canvasHeight:Number, offsetX:Number, offsetY:Number):HTMLCanvas { if (Render.isConchNode) { var canvas:HTMLCanvas = HTMLCanvas.create("2D"); ...
来源: Laya_社区 发布时间: 20180626