大约有 2,374 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1886) Laya3.0_api(136) Laya2.0_文档(132) Laya2.0_api(93) laya_api(73) Laya3.0_文档(46) Laya2.0_示例(4) Laya_示例(4)
...置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715
...操控物体。它试图将物体拖向当前鼠标光标的位置。而在旋转方面就没有限制。 Hierarchy JointBase MouseJoint Index Constructors constructor Properties _extra _singleton anchor owner runInEditor scriptPath selfBody Accessors awaked damping destroyed enabled frequency hideF...
来源: Laya3.0_api 发布时间: 20231115
...n(in float rot,in float age)\n{ \n float rotation =rot * age;\n //计算2x2旋转矩阵.\n float c = cos(rotation);\n float s = sin(rotation);\n return mat2(c, -s, s, c);\n}\n\nvec4 ComputeParticleColor(in vec4 startColor,in vec4 endColor,in float normalizedAge)\n{\n vec4 color=mix(startColor,e...
来源: Laya_社区 发布时间: 20171109
...._position.y; //根据移动的距离进行旋转 (this.owner as Laya.Sprite3D).transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 ==...
来源: Laya_社区 发布时间: 20190531
...置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715
...tions velocityIterations: number = 8 Defined in laya/physics/Physics.ts:23 旋转迭代次数,增大数字会提高精度,但是会降低性能 world world: any Defined in laya/physics/Physics.ts:21 [只读]物理世界引用,更多属性请参考官网 Static PIXEL_RATIO PIXEL_RATIO: number =...
来源: Laya3.0_api 发布时间: 20231115
...ceJoint3.selfAnchor = p3; distanceJoint3.otherAnchor = anchor; // 因为有旋转,localAnchor很难计算,使用绝对位置换算 distanceJoint3.frequency = frequencyHz; distanceJoint3.damping = dampingRatio; leg1.addComponentIntance(distanceJoint3); distanceJoint3.maxLength = distanceJoint3.mi...
来源: Laya2.0_示例 发布时间: 20260106
...为每个子对象添加原型碰撞器。这就允许你简单地移动、旋转或者伸缩每个子碰撞器,他们是各自独立的。 下面的代码来自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_CompoundC...
来源: Laya2.0_文档 发布时间: 20210715
...uaternion): void Defined in laya/d3/physics/Rigidbody3D.ts:422 设置物理旋转 Returns Quaternion Defined in laya/d3/physics/Rigidbody3D.ts:416 设置物理旋转 Parameters q: Quaternion Returns void overrideGravity get overrideGravity(): boolean set overrideGravity(value: boolean): void Defined...
来源: Laya3.0_api 发布时间: 20231115
...为每个子对象添加原型碰撞器。这就允许你简单地移动、旋转或者伸缩每个子碰撞器,他们是各自独立的。 下面的代码来自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_CompoundC...
来源: Laya2.0_文档 发布时间: 20210714