大约有 476 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0041 秒)
Laya_社区(251) Laya_示例(61) Laya3.0_api(39) Laya2.0_文档(33) Laya2.0_api(28) Laya2.0_示例(25) laya_api(21) Laya3.0_文档(18)
...奇怪!!! rigidBody.angularVelocity = new Laya.Vector3(Math.random(), Math.random(), Math.random()); } 把默认的刚体销毁后手动创建就可以落下了,这正常吗? 设置弹力运行效果也不是很正常! 3.断点调试异常,根本跳不到正常...
来源: Laya_社区 发布时间: 20230220
...mes No Frames QuaternionProperties | Methods | Constants Packagelaya.d3.mathClasspublic class QuaternionInheritanceQuaternion ObjectImplements laya.d3.core.IClone Quaternion 类用于创建四元数。 Public Properties PropertyDefined By elements : Float32Array四元数元素数组Quaternion...
来源: laya_api 发布时间: 20170929
...3.core.render.RenderState; import laya.d3.core.scene.Scene; 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.Texture2D; import laya.d3.resource.models.Box...
来源: Laya_示例 发布时间: 20250220
...lt; 500; i++) { var Sprite = new Laya.Sprite(); Sprite.graphics.drawCircle(Math.random() * 500, Math.random() * 800, 50, "#666666", "#555555", 5); Laya.stage.addChild(Sprite) } 其他: Laya.init(Laya.Browser.width, Laya.Browser.height, Laya.WebGL);//Laya.WebGL Laya.stage.scaleMode = "showall"; Laya....
来源: Laya_社区 发布时间: 20171005
...s No Frames ConchVector3Properties | Methods | Constants Packagelaya.d3.math.NativeClasspublic class ConchVector3InheritanceConchVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties PropertyDefined By elements : Float32Array[只读]向量元素...
来源: Laya2.0_api 发布时间: 20190513
...2021-02-25 19:44 https://layaair2.ldc2.layabox. ... 0beta*type=3D*category=Math*class=laya.d3.math.native.ConchQuaternion shiyang • 2021-02-26 09:25 连接有问题吧 shiyang • 2021-02-26 09:27 这个是native的四元素类,也没有看到有将左手坐标系四元素转换成右手坐标...
来源: Laya_社区 发布时间: 20210225
...{ let source = img.source; if (source) { //Math.max是左边的效果,min是右边的效果 let ratio = Math.max(source.width, source.height) / 100; img.width = source.width / ratio; img.height ...
来源: Laya_社区 发布时间: 20180514
...comp/textinput.png");//反应没有问题 drawyuan.size(100, 100); var x = Math.random() * Laya.stage.width; var y = Math.random() * Laya.stage.height; console.log(x + "" + y); drawyuan.pos(x,y); return drawyuan; } 2017-09-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20170905
...GN_CENTER; //纠正宽度 function AdaptiveScrene() { var width = Math.max(Laya.Browser.clientWidth,Laya.Browser.clientHeight); var height = Math.min(Laya.Browser.clientHeight,Laya.Browser.clientWidth); var scaleY = height/SCREEN_HEIGHT; var scaleX = width/SCREEN_WIDTH; ...
来源: Laya_社区 发布时间: 20200423
..., x2: number, y2: number): number { let dx = x2-x1; let dy = y2-y1; return Math.sqrt(dx*dx+dy*dy); } private getPoint(t: number, x0: number, y0: number, x1: number, y1: number, x2: number, y2: number, x3: number, y3: number): number[] { const t2 = t * t; const t3 = t2 * t; const x = 0.5 * ((2 * x1) ...
来源: Laya_社区 发布时间: 20241008