大约有 474 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0050 秒)
Laya_社区(251) Laya_示例(61) Laya3.0_api(39) Laya2.0_文档(33) Laya2.0_api(28) Laya2.0_示例(25) laya_api(21) Laya3.0_文档(16)
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/MathUtils3D" MathUtils3D Class MathUtils3D MathUtils3D 类用于创建数学工具。 Hierarchy MathUtils3D Index Constructors constructor Properties Deg2Rad MaxValue MinValue zeroTolerance Methods fastInvSqrt isZero nea...
来源: Laya3.0_api 发布时间: 20231102
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Matrix3x3" Matrix3x3 Class Matrix3x3 Matrix3x3 类用于创建3x3矩阵。 Hierarchy Matrix3x3 Implements IClone Index Constructors constructor Properties elements DEFAULT Methods clone cloneTo determinant identity inve...
来源: Laya3.0_api 发布时间: 20231115
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Matrix3x3" Matrix3x3 Class Matrix3x3 Matrix3x3 类用于创建3x3矩阵。 Hierarchy Matrix3x3 Implements IClone Index Constructors constructor Properties elements DEFAULT Methods clone cloneTo determinant identity inver...
来源: Laya3.0_api 发布时间: 20231102
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Ray" Ray Class Ray Ray 类用于创建射线。 Hierarchy Ray Index Constructors constructor Properties direction origin Methods at Constructors constructor new Ray(origin: Vector3, direction: Vector3): Ray Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/ContainmentType" ContainmentType Class ContainmentType ContainmentType 类用于定义空间物体位置关系。 Hierarchy ContainmentType Index Properties Contains Disjoint Intersects Properties Static Contains Contain...
来源: Laya3.0_api 发布时间: 20231115
...Stride); var indices=new Uint16Array(this._numberIndices); var sliceAngle=(Math.PI *2.0)/ this._slices; var halfHeight=this._height / 2; var curAngle=0; var verticeCount=0; var posX=0; var posY=0; var posZ=0; var vc=0; var ic=0; for (var tv=0;tv <=this._slices;tv++){ if (tv===0){ vertices[vc++]=0...
来源: Laya_社区 发布时间: 20180113
...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/RandX" RandX Class RandX Rand 类用于通过128位整型种子创建随机数,算法来自:https://github.com/AndreasMadsen/xorshift。 Hierarchy RandX Index Constructors constructor Properties defaultRand Methods rando...
来源: Laya3.0_api 发布时间: 20231115
... //画到B点 ["lineTo", dingBianW + (lineW - dingBianW) / 2, -_totalH / Math.sin((90 - Math.abs(skewXNum)) / 180 * Math.PI)], //再画到C点 ["lineTo", (lineW - dingBianW) / 2, -_totalH / Math.sin((90 - Math.abs(skewXNum)) / 180 * Math.PI)], //继续画到D点 ["closePath"] //闭合路径 ]; //...
来源: Laya_社区 发布时间: 20180717
... = 0; i < 1000; i++) { text = new Text(); text.fontSize = 20; text.text = (Math.random() * 100).toFixed(0); text.rotation = Math.random() * 360; text.color = "#CCCCCC"; text.x = Math.random() * Laya.stage.width; text.y = Math.random() * Laya.stage.height; textBox.addChild(text); } //缓存为静态...
来源: Laya_示例 发布时间: 20241117
...ext = new Text(); textBox.addChild(text); text.fontSize = 20; text.text = (Math.random() * 100).toFixed(0); text.rotation = Math.random() * 360; text.color = "#ccc"; text.x = Math.random() * Laya.stage.width; text.y = Math.random() * Laya.stage.height; } //缓存为静态图像 textBox.cacheAs = "bi...
来源: Laya2.0_示例 发布时间: 20241117