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

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

301. laya.d3.physicscannon.shape.CannonSphereColliderShape_API3.0 [ 82%]

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

302. 3D场景中背景无法透明,版本2.7.1 [ 82%]

...dChild(new Laya.Camera(0, 0.1, 100))); camera.transform.translate(new Laya.Vector3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor=null; //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.V...

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

303. 照相机-多照相机 [ 82%]

...new Laya.Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Laya.Vector3(0, 0, 1.5)); camera1.normalizedViewport = new Laya.Viewport(0, 0, 0.5, 1.0); var camera2 = scene.addChild(new Laya.Camera( 0, 0.1, 100)); camera2.clearColor = new Laya.Vector4(0.0, 0.0, 1.0, 1.0); camera2.transform.tr...

来源: Laya_示例 发布时间: 20241124

304. laya.d3.core.particleshuriken.module.GradientSize_API3.0 [ 82%]

...定尺寸。 Returns number constantMaxSeparate get constantMaxSeparate(): Vector3 Defined in laya/d3/core/particleShuriKen/module/GradientSize.ts:197 最小分轴随机双固定尺寸。 Returns Vector3 constantMin get constantMin(): number Defined in laya/d3/core/particleShuriKen/module/GradientSi...

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

305. 官方DynamicBatchTest照做为什么动态合不了批? [ 82%]

...e = Laya.stage.addChild(new Laya.Scene3D()); scene.ambientColor = new Laya.Vector3(1, 1, 1);   var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 6.2, 10.5)); camera.transform.rotate(new Laya.Vector3(-40, 0, 0), true, false); camera.addCompone...

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

306. discard property,please use transform's property instead [ 82%]

...aya.Camera(0, 0.1, 1000));         camera.transform.translate(new Laya.Vector3(0, 1.5, 4));         camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false);         camera.addComponent(CameraMoveScript);         //方向光         var directionLight = scene.addChild(ne...

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

307. laya.d3.graphics.VertexElementFormat_API3.0 [ 82%]

...teOne Color NormalizedShort2 NormalizedShort4 Short2 Short4 Single Vector2 Vector3 Vector4 Methods getElementInfos Properties Static Byte2 Byte2: string = "byte2" Defined in laya/d3/graphics/VertexElementFormat.ts:24 字节数组2 Static Byte3 Byte3: string = "byte3" Defined in laya/d3/graphics/Vert...

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

308. laya.d3.physics.shape.CapsuleColliderShape [ 82%]

...th : Number[read-only] 获取长度。 CapsuleColliderShape localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape needsCustomCollisionCallback : Boolean = falseColliderShape  orientation : int[read-only] 获取...

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

309. Sprite3D添加组件或脚本(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 82%]

...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //创建平行光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6...

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

310. 为什么动态设置聚光灯朝向无效呢 [ 82%]

为什么动态设置聚光灯朝向无效呢 var tar = new Laya.Vector3(); var dir = new Laya.Vector3(); var src = model.transform.position; spotLight.transform.position = camera.transform.position; Laya.Vector3.subtract(src, camera.transform.position,tar); Laya.Vector3.normalize(tar, dir); spotLi...

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