大约有 476 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0039 秒)
Laya_社区(251) Laya_示例(61) Laya3.0_api(39) Laya2.0_文档(33) Laya2.0_api(28) Laya2.0_示例(25) laya_api(21) Laya3.0_文档(18)
...| Frames No Frames OrientedBoundBoxProperties | Methods Packagelaya.d3.mathClasspublic class OrientedBoundBoxInheritanceOrientedBoundBox Object OrientedBoundBox 类用于创建OBB包围盒。 Public Properties PropertyDefined By extents : Vector3每个轴长度的一半OrientedBoundBox tra...
来源: Laya2.0_api 发布时间: 20190513
...Frames No Frames RectangleProperties | Methods | Constants Packagelaya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互...
来源: laya_api 发布时间: 20170929
...gine.world, [ Bodies.rectangle(200, 150, 500, 20, { isStatic: true, angle: Math.PI * 0.06 }), Bodies.rectangle(500, 350, 1650, 20, { isStatic: true, angle: -Math.PI * 0.06 }), Bodies.rectangle(300, 560, 1600, 20, { isStatic: true, angle: Math.PI * 0.04 }) ]); engine.world.gravity.y = 1; var scale = ...
来源: Laya_社区 发布时间: 20170728
...) { ape.rotation += 2; //心跳缩放 scaleDelta += 0.02; var scaleValue = Math.sin(scaleDelta); ape.scale(scaleValue, scaleValue); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export...
来源: Laya_示例 发布时间: 20250220
... processTimer = ProcessTimer.create(img,new laya.maths.Size(70,70)); processTimer.setPercentage(100); processTimer.setType(ProcessTimer.PROGRESS_TIMER_TYPE_RECT); processTimer.setPosition(0,0...
来源: Laya_社区 发布时间: 20180404
...数是什么作用? text = new Text(); text.fontSize = 20; text.text = (Math.random() * 100).toFixed(0); text.rotation = Math.random() * 360; text.color = "#CCCCCC"; 2018-03-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...
来源: Laya_社区 发布时间: 20180326
setSubPixels画布擦除不掉 this.btn.label = Math.random().toString(); // console.log(Math.random()); let tex:Laya.Texture = Laya.Loader.getRes(this.bUrl); let x:number = this._testStatus == true ? 0:50;//Math.random()>0.5 ? 50 : 0; this._testStatus = !this._testStatus; // let canvasInfo = th...
来源: Laya_社区 发布时间: 20230328
...Frames No Frames RectangleProperties | Methods | Constants Packagelaya.mathsClasspublic class RectangleInheritanceRectangle Object Rectangle 对象是按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互...
来源: Laya2.0_api 发布时间: 20190513
...pe.rotation += 2; //心跳缩放 this.scaleDelta += 0.02; let scaleValue = Math.sin(this.scaleDelta); this.ape.scale(scaleValue, scaleValue); } } new Sprite_RoateAndScale();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser;...
来源: Laya2.0_示例 发布时间: 20250220
...3.core.render.RenderState; import laya.d3.core.scene.Scene; import laya.d3.math.OrientedBoundBox; import laya.d3.math.Plane; import laya.d3.math.Quaternion; import laya.d3.math.Ray; import laya.d3.math.Vector2; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.Texture...
来源: Laya_示例 发布时间: 20250220