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

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

2331. laya.physics.joint.PrismaticJoint_API3.0 [ 31%]

...移动关节允许两个物体沿指定轴相对移动,它会阻止相对旋转 Hierarchy JointBase PrismaticJoint Index Constructors constructor Properties _extra _singleton anchor axis collideConnected otherBody owner runInEditor scriptPath selfBody Accessors awaked destroyed enableLimit enableM...

来源: Laya3.0_api 发布时间: 20231115

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

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

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

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

...置材质 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

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

...置材质 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

2335. 层级面板 · LayaAir3.3 · 引擎文档 · LAYABOX [ 30%]

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

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

2336. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 30%]

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

2337. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 30%]

...fff00", 5, 0, 0); // this.statue.filters = [glowFilter]; // 守护神设置旋转 this.angel.pivot(boundAngel.width/2,boundAngel.height); this.angel.rotation = -15; // 守护神设置呼吸 Laya.Tween.to(this.angel,{scaleY:0.99},900,Laya.Ease.linearInOut,Handler.create(this,this.angelTween1)); // ...

来源: Laya_社区 发布时间: 20170720

2338. laya.d3.core.Sprite3D [ 29%]

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

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

...置材质 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

2340. 缓动动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 28%]

...置,比如最常用的x、y位置属性,及alpha透明属性,以及旋转、轴心、大小等其他属性。 ##### duration duration是执行缓动效果花费的时间,单位是豪秒,时间越多,缓动效果越慢。 ##### ease ease 为缓动类型,它可以使用Ease类下定义...

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