大约有 648 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0049 秒)
Laya_社区(363) Laya3.0_api(124) Laya2.0_文档(97) Laya_示例(42) Laya3.0_文档(13) laya_api(5) Laya2.0_api(4)
...setMax setMin containPoint merge Constructors constructor new Bounds(min?: Vector3, max?: Vector3): Bounds Defined in laya/d3/math/Bounds.ts:130 创建一个 Bounds 实例。 Parameters Optional min: Vector3 min 最小坐标 Optional max: Vector3 max 最大坐标。 Returns Bounds Accessors max get ...
来源: Laya3.0_api 发布时间: 20231115
...er setExtent setMax setMin Constructors constructor new NativeBounds(min?: Vector3, max?: Vector3): NativeBounds Defined in laya/d3/RenderObjs/NativeOBJ/NativeBounds.ts:139 创建一个 Bounds 实例。 Parameters Optional min: Vector3 min 最小坐标 Optional max: Vector3 max 最大坐标。 Retur...
来源: Laya3.0_api 发布时间: 20231115
...h.meshRender.material = fishmaterial; fish.transform.localScale = new Laya.Vector3(0.04,0.04,0.04); fish.transform.position = new Laya.Vector3(0,0.5,0); // fish.transform.position = new Laya.Vector3(0.4,0.5,-0.35); fish.transform.rotate(new Laya.Vector3(0,-Math.PI/2,0)); var anifish = fish.addCompon...
来源: Laya_社区 发布时间: 20171206
...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_文档 发布时间: 20210714
...shSprite3D.load("3d/ben/Export.lh") this.role3D.transform.scale = new Laya.Vector3(0.5,0.5,0.5); this.role3D.transform.position = new Laya.Vector3(0,20,0); 以上的scale、position设置均不起作用,但是我放到frameloop里就有用,请问这是为什么?要怎么解决? 2018-03-09 ...
来源: Laya_社区 发布时间: 20180309
... as Camera; camera.transform.translate(new Vector3(0, 3, 3)); camera.transform.rotate(new Vector3( -30, 0, 0), true, false); camera.clearColor = null; //添加方向光 ...
来源: Laya_社区 发布时间: 20180116
...。 实例。 Returns GradientVelocity Accessors constant get constant(): Vector3 Defined in laya/d3/core/particleShuriKen/module/GradientVelocity.ts:101 固定速度。 Returns Vector3 constantMax get constantMax(): Vector3 Defined in laya/d3/core/particleShuriKen/module/GradientVelocity.ts:132 最...
来源: Laya3.0_api 发布时间: 20231115
...t()) as Laya.SpotLight; //设置聚光灯颜色 spotLight.color = new Laya.Vector3(1, 1, 0); //设置聚光灯位置 spotLight.transform.position = new Laya.Vector3(0.0, 1.2, 0.0); //设置聚光灯方向 var mat = spotLight.transform.worldMatrix; mat.setForward(new Laya.Vector3(0.15, -1.0, 0.0)); s...
来源: Laya2.0_文档 发布时间: 20210715
...aya.Camera(0, 0.1, 0)) as Laya.Camera; camera.transform.translate(new Laya.Vector3(0, 2, 20)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = new Laya.Vector4(0.2, 0.2, 0.2, 1.0); var directionLight = scene.addChild(new Laya.DirectionLight()) as Laya.Direction...
来源: Laya_社区 发布时间: 20220815
...mber = 0 数组偏移。 Returns void getYawPitchRoll getYawPitchRoll(out: Vector3): void Defined in laya/maths/Quaternion.ts:388 分解四元数到欧拉角(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988,问题绕X轴翻转超过±90度...
来源: Laya3.0_api 发布时间: 20231115