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

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

321. 物理系统之约束(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 69%]

...拟都将这一点作为计算的中心。 ```typescript set anchor(value:Vector3) ``` - 设置约束中的连接锚点 ``` set connectAnchor(value:Vector3) ``` - 设置约束计算迭代的次数,次数越高,越精确(默认为80) ``` setOverrideNumSolverIterations(overideNumIterations:number)...

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

322. 怎么让模型原地依照Y轴旋转到 我指定的角度? 角度 如何 转换成 Y轴旋转 的四元数? [ 69%]

...第二个问题绕开了。 var t:Transform3D; t.localRotationEuler = new Vector3(0, 45, 0); 不过在这里还是贴一下使用代码: var q:Quaternion = new Quaternion(); Quaternion.createFromYawPitchRoll(45,0,0,q);   2017-09-19 1 0 分享 微博 QZONE 微信 avpvsdoom 赞同来自: box.transfor...

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

323. BlinnPhong材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 69%]

...模型材质。 #### 主要属性和方法详解: > 属性 `albedoColor:Vector4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` ...

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

324. 物理系统之约束(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 69%]

...拟都将这一点作为计算的中心。 ```typescript set anchor(value:Vector3) ``` - 设置约束中的连接锚点 ``` set connectAnchor(value:Vector3) ``` - 设置约束计算迭代的次数,次数越高,越精确(默认为80) ``` setOverrideNumSolverIterations(overideNumIterations:Number)...

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

325. laya.d3.physics.PhysicsTriggerComponent_API3.0 [ 69%]

...理四元数 Returns Quaternion getPhysicsPosition getPhysicsPosition(): Vector3 Inherited from PhysicsTriggerComponent.getPhysicsPosition Defined in laya/d3/physics/PhysicsComponent.ts:432 获得物理位置 Returns Vector3 返回位置 hasHideFlag hasHideFlag(flag: number): boolean Inherited from ...

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

326. 已知方向向量怎么转欧拉角 [ 69%]

...,可还没有超出屏幕高度就提前消失了! 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 完美世界北京高薪诚聘H5前端开发专家(layaair方向) 请问Laya2里面的物理引擎怎...

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

327. laya.d3.physics.PhysicsCollider_API3.0 [ 69%]

...理四元数 Returns Quaternion getPhysicsPosition getPhysicsPosition(): Vector3 Inherited from PhysicsTriggerComponent.getPhysicsPosition Defined in laya/d3/physics/PhysicsComponent.ts:432 获得物理位置 Returns Vector3 返回位置 hasHideFlag hasHideFlag(flag: number): boolean Inherited from ...

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

328. 如何用ts对引擎类进行方法扩展 [ 69%]

...中,我想对常用的引擎类进行方法扩展(Animtor, BaseRender, Vector3, 等等)   我应该怎么做,请求管理员的帮助,谢谢。 2018-06-22 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aa...

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

329. 使用3D摄像机 · LayaAir3.4 · 引擎文档 · LAYABOX [ 69%]

...动插值参数值 public camDepthSmooth: number = 20 public curpos: Laya.Vector3; private delatpos: Laya.Vector3; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 * 此方法为虚方法,使用时重写覆盖即...

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

330. BlinnPhong材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 69%]

...模型材质。 #### 主要属性和方法详解: > 属性 `albedoColor:Vector4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` ...

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