大约有 965 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0055 秒)
Laya_社区(486) Laya3.0_api(135) Laya2.0_文档(121) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(18)
...角速度。 Returns number constantMaxSeparate get constantMaxSeparate(): Vector3 Defined in laya/d3/core/particleShuriKen/module/GradientAngularVelocity.ts:251 最大分轴随机双固定角速度。 Returns Vector3 constantMin get constantMin(): number Defined in laya/d3/core/particleShuriKen/mod...
来源: Laya3.0_api 发布时间: 20231115
...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); directionLight....
来源: Laya_社区 发布时间: 20171127
...Node 节点对象 。 Node convertScreenCoordToOrthographicCoord(source:Vector3, out:Vector3):Boolean 转换2D屏幕坐标系统到3D正交投影下的坐标系统,注:只有正交模型下有效。 Camera destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默...
来源: Laya2.0_api 发布时间: 20190513
...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
...rimitiveMesh.createBox(0.5, 0.5, 0.5))); box.transform.position = new Laya.Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); //球体 var sphere = sprite3D.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(0.25, 20, 20))); sphere.transform.position...
来源: Laya2.0_文档 发布时间: 20210715
...Child(new Laya.Camera(0, 0.01, 1000)); camera.transform.translate(new Laya.Vector3(0, consts.CAMERA_HEI, 0)); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), true, false); camera.orthographic = true; camera.orthographicVerticalSize = 15; this.mainCamera = camera; // var directionLight = scene.a...
来源: Laya_社区 发布时间: 20180126
...rimitiveMesh.createBox(0.5, 0.5, 0.5))); box.transform.position = new Laya.Vector3(2.0, 0.25, 0.6); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); //球体 var sphere = sprite3D.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(0.25, 20, 20))); sphere.transform.position...
来源: Laya2.0_文档 发布时间: 20210714
...cene.addChild(new Laya.SpointLight()); spointLight.ambientColor = new Laya.Vector3(0.8, 0.8, 0.8); spointLight.specularColor = new Laya.Vector3(2.0, 2.0, 0.9); spointLight.diffuseColor = new Laya.Vector3(1, 1, 1); spointLight.transform.translate(new Laya.Vector3(0, 30, 0)); spointLight.attenuation =...
来源: Laya_社区 发布时间: 20171106
...t laya.d3.core.scene.Scene; import laya.d3.math.RandX; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; import laya.d3.resource.models.BoxMesh; import laya.d3.resource.models.QuadMesh; import laya.d3.resource.models.SkyBox; import laya.display.Stag...
来源: Laya_社区 发布时间: 20170331
... = scene.addChild(new Camera()) as Camera; camera.transform.position = new Vector3(0, 3, 3); camera.transform.rotate(new Vector3( -45, 0, 0), true, false); camera.addComponent(CameraMoveScript); //生成平面,其实是一个box,只不过高度很小,可看成一个平面 var plane:MeshSprite3...
来源: Laya_社区 发布时间: 20161223