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

大约有 1,663 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0063 秒)

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

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

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

1632. 粒子动画透明度问题 [ 37%]

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

1633. 多种碰撞器形状(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 37%]

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

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

1634. ShaderPass介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 37%]

...置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ![](img/1.gif) ### 2. stateMap 在 `subShader` 添加通道时,除了顶点着色器与片段着色器之外...

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

1635. ShaderPass介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 37%]

...置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ![](img/1.gif) ### 2. stateMap 在 `subShader` 添加通道时,除了顶点着色器与片段着色器之外...

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

1636. 层级面板说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...子节点会受到父节点的影响,例如父节点改变了位置,或旋转了角度,子节点也会同步产生变化。 3D节点的根节点是Scene3D,2D节点的根节点是Scene2D。2D与3D节点之间不可以混合形成父子层级关系。 二、层级面板的通用操作 2.1 创...

来源: Laya3.0_文档 发布时间: 20250103

1637. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 36%]

...._tarPosition, this._upVector3, false); //因为资源规格,这里需要旋转180度 this.layaMonkey.transform.rotate(this._rotation2, false, false); //调整位置 Tween.to(this._finalPosition, { x: this._position.x, y: this._position.y, z: this._position.z }, 40); this.moveSprite3D.transform.po...

来源: Laya3.0_文档 发布时间: 20230303

1638. laya.d3.core.Sprite3D [ 36%]

...Stays为false时生效。  rotation:Quaternion (default = null) — 世界旋转,worldPositionStays为false时生效。 ReturnsSprite3D — 克隆实例。 load()method  public static function load(url:String, complete:Handler):void 加载网格模板。 Parameters url:String — 模板地址。 ...

来源: Laya2.0_api 发布时间: 20190513

1639. ShaderPass介绍(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 34%]

...置材质 layaMonkey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ![](img/1.gif) ### 2. stateMap 在 `subShader` 添加通道时,除了顶点着色器与片段着色器之外...

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

1640. 2D物理-仿生机器人 [ 32%]

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

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