• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,374 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0057 秒)

2321. 关联shader的uniform(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 34%]

...置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####

来源: Laya2.0_文档 发布时间: 20210715

2322. laya.physics.joint.MouseJoint_API3.0 [ 34%]

...操控物体。它试图将物体拖向当前鼠标光标的位置。而在旋转方面就没有限制。 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

2323. 粒子动画透明度问题 [ 34%]

...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

2324. 加载.lh文件 运行后黑屏 无法显示 [ 34%]

...._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

2325. 关联shader的uniform(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 34%]

...置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####

来源: Laya2.0_文档 发布时间: 20210715

2326. laya.physics.Physics_API3.0 [ 33%]

...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

2327. 2D物理-仿生机器人 [ 33%]

...ceJoint3.selfAnchor = p3; distanceJoint3.otherAnchor = anchor; // 因为有旋转,localAnchor很难计算,使用绝对位置换算 distanceJoint3.frequency = frequencyHz; distanceJoint3.damping = dampingRatio; leg1.addComponentIntance(distanceJoint3); distanceJoint3.maxLength = distanceJoint3.mi...

来源: Laya2.0_示例 发布时间: 20260106

2328. 多种碰撞器形状(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 33%]

...为每个子对象添加原型碰撞器。这就允许你简单地移动、旋转或者伸缩每个子碰撞器,他们是各自独立的。 下面的代码来自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_CompoundC...

来源: Laya2.0_文档 发布时间: 20210715

2329. laya.d3.physics.Rigidbody3D_API3.0 [ 32%]

...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

2330. 多种碰撞器形状(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 31%]

...为每个子对象添加原型碰撞器。这就允许你简单地移动、旋转或者伸缩每个子碰撞器,他们是各自独立的。 下面的代码来自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_CompoundC...

来源: Laya2.0_文档 发布时间: 20210714