大约有 726 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0046 秒)
Laya_社区(330) Laya3.0_api(99) Laya2.0_api(82) laya_api(76) Laya2.0_文档(63) Laya_示例(46) Laya3.0_文档(18) Laya2.0_示例(12)
...etween Two Curve Start Size -> Curve, Randow Between Two Curve 3D Start Rotation -> Curve, Randow Between Two Curve Start Rotation -> Curve, Randow Between Two Curve Start Color -> Gradient, Randow Between Two Gradient Emission -> Rate over Distance Shape -> Shape -> Mesh, Mesh...
来源: Laya_社区 发布时间: 20161219
...amera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); dire...
来源: Laya_示例 发布时间: 20250218
...); 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.Vector3(0.6, 0.6, 0.6); direction...
来源: Laya_社区 发布时间: 20180605
...); 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.Vector3(0.6, 0.6, 0.6); directionLigh...
来源: Laya_社区 发布时间: 20201021
...nsform.position = new Laya.Vector3(2.5, 1.5, 0); box.transform.rotation = new Laya.Quaternion(-0.373,-0.070,0.16,0.91); box.meshRender.material = material; // //旋转(这里把注释去掉,可看旋转效果,BUG更明显:渲染时,正方体“背面”...
来源: Laya_社区 发布时间: 20180119
...r camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.translate(new Laya.Vector3(5, -10, 500)); camera.orthographic = true; //正交投影垂直矩阵尺寸 camera.orthographicVerticalSize = 10; var directionLig...
来源: Laya_示例 发布时间: 20250218
... transformVector3ArrayByQuat(sourceArray:Float32Array, sourceOffset:int, rotation:Quaternion, outArray:Float32Array, outOffset:int):void[static] 根据四元数旋转三维向量。 Utils3D transformVector3ArrayToVector3ArrayCoordinate(source:Float32Array, sourceOffset:int, transform:Matrix4x4, ...
来源: laya_api 发布时间: 20170929
...prite3D; box.transform.translate(new Laya.Vector3(5, 5, 5)); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load( "res/layabox.png", Laya.Handler.create(null, function (tex: Laya.Texture2D) { mater...
来源: Laya_社区 发布时间: 20200917
...,右键可以拖拽舞台! 3.你说的旋转是指什么,向左向右rotation旋转还是半径粒子效果的右旋呢,如果是rotation,参考上面的说明,如果是右旋,需要你自己调节粒子属性参数,可以做到右旋 4、可以调节透明度 建议你们认真研...
来源: Laya_社区 发布时间: 20170719
...camera.transform.translate(new Laya.Vector3(0, 0.35, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onCompl...
来源: Laya_示例 发布时间: 20250218