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

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

61. 使用layaAir3D从unity3D中导出场景模型时报错 [ 77%]

...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...

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

62. laya.d3.renderobjs.nativeobj.NativeTransform3D_API3.0 [ 77%]

...ya/d3/RenderObjs/NativeOBJ/NativeTransform3D.ts:14 Static tmpVec3 tmpVec3: Vector3 = new Vector3() Inherited from Transform3D.tmpVec3 Defined in laya/d3/core/Transform3D.ts:882 Accessors localMatrix get localMatrix(): Matrix4x4 set localMatrix(value: Matrix4x4): void Overrides Transform3D.localMatri...

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

63. Laya2.7.1 射线提示rayCast未定义 [ 77%]

...d(new Laya.Camera(0, 0.1, 100))); this.camera.transform.translate(new Laya.Vector3(0, 0.7, 5)); this.camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); } onEnable() { Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this._onStageDown); } _onStageDown() { //创建一个点 var point = new La...

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

64. laya.d3.math.Quaternion_API3.0 [ 77%]

...mber = 0 数组偏移。 Returns void getYawPitchRoll getYawPitchRoll(out: Vector3): void Defined in laya/d3/math/Quaternion.ts:388 分解四元数到欧拉角(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90...

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

65. 正交相机要怎么控制啊,坐标什么的全部懵!看了这个官方示例表示不懂,为什么还要转化为2D坐标? [ 77%]

....addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-90, 0, 0), false, false); //-30改为-90 camera.transform.translate(new Laya.Vector3(0, 0.5, 0)); //(0,0.5,500)改为(0, 0.5, 0) camera.orthographicProjection = true; var directionLight = scene.addChild(new Laya....

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

66. laya.d3.physicscannon.shape.CannonSphereColliderShape_API3.0 [ 76%]

...ape.ts:16 形状方向_Z轴正向 Accessors localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CannonColliderShape.localOffset Defined in laya/d3/physicsCannon/shape/CannonColliderShape.ts:119 Shape的本地偏移。 Returns Vector3 Inherited from CannonColli...

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

67. 射线检测报错,outHitInfo.sprite3D=null; [ 76%]

... public _start(state:Laya.RenderState):void{ this.ray = new Laya.Ray(Laya.Vector3.ZERO,Laya.Vector3.ZERO); this.phasorSprite3D = new Laya.PhasorSpriter3D(); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDown); }  private onMouseDown():void{ this.camera.viewportPointToRay(new Laya.Vector2(Lay...

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

68. laya阴影问题 [ 76%]

...dByName("DirectionalLight") as Laya.DirectionLight; light.color = new Laya.Vector3(1, 1, 1); light.shadow = true; light.shadowDistance = 1; light.shadowPCFType = 3; light.shadowResolution = 1024; light.shadowPSSMCount = 1; for (let index = 0; index < 2; index++) { var a = 0.05; var b = 0.2; var c...

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

69. laya.d3.physics.constraints.ConstraintComponent_API3.0 [ 76%]

... Defined in laya/components/Component.ts:35 Accessors anchor get anchor(): Vector3 set anchor(value: Vector3): void Defined in laya/d3/physics/constraints/ConstraintComponent.ts:168 设置锚点 Returns Vector3 Defined in laya/d3/physics/constraints/ConstraintComponent.ts:163 设置锚点 Parameters...

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

70. laya.d3.core.particleshuriken.module.shape.SphereShape_API3.0 [ 76%]

...s void generatePositionAndDirection generatePositionAndDirection(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Overrides BaseShape.generatePositionAndDirection Defined in laya/d3/core/particleShuriKen/module/shape/SphereShape.ts:56 用于生成粒子初始位...

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