大约有 1,655 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0065 秒)
Laya_社区(676) Laya3.0_api(364) Laya2.0_api(194) laya_api(158) Laya2.0_文档(80) Laya3.0_文档(71) Laya_示例(58) Laya2.0_示例(54)
...放的速度慢一些 qian • 2018-01-25 17:01 public function play(name:String = null, playbackRate:Number = 1.0):void playbackRate : Number播放速率 你去看看animator的api LM20081991 • 2018-01-25 17:07 @qian: 好的谢谢
来源: Laya_社区 发布时间: 20180125
...= "destination-out"; 可是按照API说法: blendMode : String 指定要使用的混合模式。目前只支持"lighter"。 另外:destination-out在canvas下样式正常,在webgl下是错误的。 canvas下: webgl下: 2017-12-14 0 0 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20171214
...MLDivElement(); p.name == "headIcon"; this.img_head.addChild(p); var html: string = "<img src='" + imgUrl + "'/>";// style='width:96;height:96' />"; p.innerHTML = html; 其他的大部分图片这两种方案都是没问题可以正常显示的。麻烦帮忙看一下,谢谢 2017-07-09 ...
来源: Laya_社区 发布时间: 20170709
... */ private function playDragonBonesAnimation(url:String,dragronX:Number,dragronY:Number,parent:Sprite,isLoop:Boolean):void{ var tem:Templet = new Templet(); var longgu:Skeleton; tem.loadAni(url); ...
来源: Laya_社区 发布时间: 20170406
...ber):Rectangle 将 Rectangle 的属性设置为指定值。 Rectangle toString():String 当前 Rectangle 对象的水平位置 x 和垂直位置 y 以及高度 width 和宽度 height 以逗号连接成的字符串。 Rectangle union(source:Rectangle, out:Rectangle = null):Rectangle 矩形联...
来源: Laya2.0_api 发布时间: 20190513
...ed in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Defined in laya/phy...
来源: Laya3.0_api 发布时间: 20231115
...eGrid = '0,10,0,10'; var price = this.getFishVal('10001', 3); var length = String(price).length; var w = length * 16 + 15 + 40; fish.scoreItem.width = w; fish.scoreItem.x = fish.getBox().x - fish.scoreItem.width/2; fish.scoreItem.y = fish.getBox().y - fish.scoreItem.height; this.scoreBox.addChild(fi...
来源: Laya_社区 发布时间: 20180517
...获取位置失败后触发 function onError(err:Error):void { var errType:String; if (err.code = Geolocation.PERMISSION_DENIED) errType = "Permission Denied"; else if (err.code == Geolocation.POSITION_UNAVAILABLE) errType = "Position Unavailable"; else if (err.code == Geolocation.TIMEOUT) errType =...
来源: Laya_社区 发布时间: 20180402
...est在layaNative下请求崩溃,请求官方协助! public post(url: string, data: any, callback: (this: void, data: JSON) => void): void { let hr = new Laya.HttpRequest(); hr.once(Laya.Event.COMPLETE, this, (e: any): void => { callback(JSON.pars...
来源: Laya_社区 发布时间: 20190829
...regClass() export class UI_ColorPicker extends Laya.Script { private skin: string = "atlas/comp/colorPicker.png"; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skin).then( ()=&...
来源: Laya3.0_文档 发布时间: 20251010