大约有 2,728 项符合查询结果, 库内数据总量为 30,782 项。 (搜索耗时: 0.0156 秒)
Laya_社区(1131) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya2.0_示例(109) Laya3.0_文档(87)
...Laya.stage.bgColor = "#232628"; this.createApes(); } private createApes(): void { //显示两只猩猩 this.ape1 = new Sprite(); this.ape2 = new Sprite(); this.ape1.loadImage("../../res/apes/monkey2.png"); this.ape2.loadImage("../../res/apes/monkey2.png"); this.ape1.pivot(55, 72); this.ape2.pivot(55...
来源: Laya_示例 发布时间: 20241120
...ublic function arcTo(x1:Number, y1:Number, x2:Number, y2:Number, r:Number):void { if (mId != -1) { var tShape:IShape = VectorGraphManager.getInstance().shapeDic[this.mId]; if (mHaveKey ) { return; } } ....... }感觉这个...
来源: Laya_社区 发布时间: 20190708
...ArrayBuffer=function(arraybuffer,offset,length){ (offset===void 0)&& (offset=0); (length===void 0)&& (length=0); if (offset < 0 || length < 0)throw "writeArrayBuffer error - Out of bounds"; if (length==0)length=arr...
来源: Laya_社区 发布时间: 20180328
...Laya.stage.bgColor = "#232628"; this.createApes(); } private createApes(): void { var gap: number = 300; this.sp1 = new Sprite(); this.sp1.loadImage("../../res/apes/monkey2.png", 0, 0); this.sp1.pos((Laya.stage.width - gap) / 2, Laya.stage.height / 2); //设置轴心点为中心 this.sp1.pivot(55, 7...
来源: Laya_示例 发布时间: 20241120
...mera; constructor() { super(); } public transform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEu...
来源: Laya_社区 发布时间: 20170714
...动画事件函数,名字是可以对应上的 public function ShowMsg():void { trace("ShowMsg"); showMsgFunc && showMsgFunc(); } } ``` 在加载好场景之后,我们将我们创建的这个脚本添加给cube。 ```typescript //加载场景 Scene3D.load("res/threeDimen/scene/LayaScene_Animatio...
来源: Laya2.0_文档 发布时间: 20210715
...Laya.stage.bgColor = "#232628"; this.createApes(); } private createApes(): void { //显示两只猩猩 this.ape1 = new Sprite(); this.ape2 = new Sprite(); this.ape1.loadImage("res/apes/monkey2.png"); this.ape2.loadImage("res/apes/monkey2.png"); this.ape1.pivot(55, 72); this.ape2.pivot(55, 72); this....
来源: Laya2.0_示例 发布时间: 20241120
... Returns Graphics Accessors cmds get cmds(): any[] set cmds(value: any[]): void Defined in laya/display/Graphics.ts:151 命令流。存储了所有绘制命令。 Returns any[] Defined in laya/display/Graphics.ts:155 命令流。存储了所有绘制命令。 Parameters value: any[] Returns void Met...
来源: Laya3.0_api 发布时间: 20231115
...灰色滤镜 Returns ColorFilter onAfterDeserialize onAfterDeserialize(): void Defined in laya/filters/ColorFilter.ts:241 Returns void reset reset(): ColorFilter Defined in laya/filters/ColorFilter.ts:182 重置成单位矩阵,去除滤镜效果 Returns ColorFilter setByMatrix setByMatrix(matrix: ...
来源: Laya3.0_api 发布时间: 20231115
...mera; constructor() { super(); } public transform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEu...
来源: Laya_社区 发布时间: 20190224