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

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

301. Tween下的动画速度如何改变? [ 57%]

Tween下的动画速度如何改变? //转盘!! public function rotateFunc(awards,angle,text):void{ isRotated = true; // Laya.timer.frameLoop(1,this,bian,[angle,text]); //缓动动画 Tween.to(pan,{ rotation: -(720+angle) },5000,Ease.bounceOut(0,0,0,5000),Handler.create(this,function():void{ ...

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

302. 可以让一个Sprite做rotationX旋转吗? [ 57%]

可以让一个Sprite做rotationX旋转吗? 可以让一个Sprite做rotationX旋转吗? 类似Flash里的Matrix3D类 给mc.transform.matrix3D设置的那种 或者类似Flash里的 rect1.rotationX = 15; 这种设置 可以轻松让Sprite做一个绕X轴的旋转? 2016-12-28 添加评论 免...

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

303. SkyBoxMaterial材质详解(ActionScript-3D基础(AS3)-天空材质详解) [ 57%]

...置曝光强度 mat.exposure = Math.sin(exposureNumber += 0.01) + 1; mat.rotation += 0.01; }); })); ``` ![](img/1.gif)(图1)

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

304. 摄像机的移动和旋转(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 57%]

...机。局部坐标,弧度制(false为角度制)。 camera.transform.rotate(new Vector3(0, 0, 3), true, true); ```

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

305. Matrix4x4的decompose函数用法 [ 57%]

...数用法 decompose是分解矩阵函数。 decompose(translation:Vector3, rotation:Quaternion, scale:Vector3):Boolean 假设单位矩阵A ,平移后变成矩阵B,缩放某轴后变成矩阵C,绕某轴旋转后变成矩阵D。然后用decompose可以分别获得 平移向量、缩放向量、...

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

306. 如何实现3d遮罩效果? [ 57%]

...; camera1.transform.translate(new Vector3(0, 0.8, 1.5)); camera1.transform.rotate(new Vector3(-30, 0, 0), true, false); camera2 = new Camera(0, 0.1, 100); scene.addChild(camera2); camera2.clearColor = new Vector4(0.0, 0.0, 1.0, 1.0); camera2.transform.translate(new Vector3(0, 0.8, 1.5)); camera2.tra...

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

307. VR的demo有没有加载3D场景的啊,实在不知怎么加 [ 57%]

...era.transform.translate(new Laya.Vector3(0.3, 0.3, 0.6)); camera.transform.rotate(new Laya.Vector3(-12, 0, 0), true, false); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; camera.addComponent(VRCameraMoveScript); /* var camera = (scene.addChild(new Laya.Camera())); camera.transform.translate(new ...

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

308. sprite绕轴心点旋转问题 [ 57%]

...小车sprite,用来划线的sprite,设置小车的轴心点pivot,然后rotation改变旋转小车,根据小车的xy值得改变实时的画出行驶轨迹和与轴心的连线。 测试结果:小车绕中心点旋转是没问题,不过小车绕中心点旋转时,小车自身sprite.x和y...

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

309. 创建材质(TypeScript-3D基础(TS)-LayaAir3D之Material材质) [ 56%]

...w Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))); box.transform.rotate(new Vector3(0, 45, 0), false, false); //创建材质 var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex){ //纹理加载完成后赋值 material....

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

310. 请问有实现rotationY的效果或者解决方案吗 [ 56%]

请问有实现rotationY的效果或者解决方案吗 请问有实现rotationY的效果或者解决方案吗?在layaair2d上面 2017-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 ...

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