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

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

491. 角色碰撞器(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 59%]

...1.0, 3.4); //设置Shape的本地偏移 sphereShape.localOffset = new Laya.Vector3(0, 1.7, 0); //设置角色控制器的碰撞形状 character.colliderShape = sphereShape; ``` ![](img/3.png)(图3)

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

492. [LayaAir3]V3.2 | 调试结果不一致,导致无法判断结果? [ 59%]

...@regClass() export class Main extends Laya.Script {   testData = new Laya.Vector3(1, 1, 1);   @property(Laya.Camera)   camera: Laya.Camera;    onStart() {     //@ts-ignore     window.camera = this.camera;     console.log("Game start", this.camera._up);     console.log(       "Game st...

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

493. unity导出的场景.ls加载到laya3d中报错 [ 59%]

...dChild(camera); //移动摄像机位置 camera.transform.position=new Laya.Vector3(-8, 4, 15); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -8, -25, 0), true, false); } } new LayaAir3D();   2017-10-17 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 麻烦上...

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

494. 角色碰撞器(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 59%]

...1.0, 3.4); //设置Shape的本地偏移 sphereShape.localOffset = new Laya.Vector3(0, 1.7, 0); //设置角色控制器的碰撞形状 character.colliderShape = sphereShape; ``` ![](img/3.png)(图3)

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

495. 角色碰撞器(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 58%]

...hape(1.0, 3.4); //设置Shape的本地偏移 sphereShape.localOffset = new Vector3(0, 1.7, 0); //设置角色控制器的碰撞形状 character.colliderShape = sphereShape; ``` ![](img/3.png)(图3)

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

496. laya.d3.component.volume.batchvolume.BatchRender_API3.0 [ 58%]

... value: number Returns void lightmapScaleOffset get lightmapScaleOffset(): Vector4 set lightmapScaleOffset(value: Vector4): void Inherited from PixelLineRenderer.lightmapScaleOffset Defined in laya/d3/core/render/BaseRender.ts:269 光照贴图的缩放和偏移。 Returns Vector4 Inherited from Pixe...

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

497. 实体组件系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 58%]

... type : Laya.Sprite3D}) public cube: Laya.Sprite3D; private rotation: Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); onStart() { Laya.timer.frameLoop(1, this, ()=> { this.cube.transform.rotate(this.rotation, false); }); } } 效果如动图4-4所示: (动图4-4) 4.1.3 3D节点的进阶使用 @...

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

498. CommandBuffer_Outline 每次 addCommandBuffer都会永久增加10Gpu,removed掉相机事件也不会减少 [ 58%]

...不清理深度         buf.clearRenderTarget(true,false,new Laya.Vector4(0,0,0,0));                  //将传入的Render渲染到纹理上         for(var i = 0,n = renders.length;i<n;i++){             if(renders == null){           ...

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

499. laya.d3.core.BaseCamera [ 58%]

... Boolean[read-only] 获取在场景中是否激活。 Node  clearColor : Vector4摄像机的清除颜色,默认颜色为CornflowerBlue。BaseCamera  clearFlag : int清楚标记。BaseCamera  cullingMask : int 可视层位标记遮罩值,支持混合 例:cullingMask=Math.pow(2,0)|Math.pow(2,1)...

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

500. laya.d3.physics.PhysicsComponent_API3.0 [ 58%]

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

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