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

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

31. matter.jsr Render下可以移动视图窗口 用LayaRender则没反应 [ 85%]

...rpos.y + canvas.height/2, world.minY, world.maxY - canvas.height); context.translate( camX, camY );   能正常跟随物体移动     但用LayaRender 后  由于无法获取到 context  所以我改了一下render.canvas.getContext('2d'); var carpos = Car.bodies[1].position; var canvas = rende...

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

32. 3D的点光源或者聚光灯的光源会穿透模型 [ 84%]

...         scene_.addChild(cube_2);         cube_2.transform.translate(new Laya.Vector3(0,0,-5));         scene_.addChild(spotLight_);         scene_.addChild(camera_);         scene_.addChild(cube_);         Laya.stage.addChild(scene_);        ...

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

33. laya.d3.math.Matrix4x4 [ 84%]

...:Matrix4x4):void[static] 根据缩放计算输出矩阵 Matrix4x4  createTranslate(trans:Vector3, out:Matrix4x4):void[static] 根据平移计算输出矩阵 Matrix4x4  decomposeTransRotMatScale(translation:Vector3, rotationMatrix:Matrix4x4, scale:Vector3):Boolean 分解矩阵为平移向量、...

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

34. 获取lh动画控制失败【已解决】 [ 84%]

...   "name":"sharedunity"     },     "customProps":{         "translate":[             0,             0,             0         ],         "rotation":[             0,             0,             0,             -1  ...

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

35. 3d粒子只要勾了looping,每次播放完开始下一次循环的时候都会闪烁一下 [ 83%]

...nsform.rotate(new Laya.Vector3(-45, 0, 0), false, false); camera.transform.translate(new Laya.Vector3(1000, 0, 0)); camera.orthographic = true; //正交投影垂直矩阵尺寸 camera.orthographicVerticalSize = 10; camera.clearFlag = Laya.BaseCamera.CLEARFLAG_DEPTHONLY; var pos = new Laya.Vector3(30...

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

36. pivot 设置后 影响 元素大小??????????????? [ 83%]

...7 关注: 2 人 whzooo • 2016-12-14 13:24 var tf:Matrix=new Matrix(); tf.translate(0,-_core.height); tf.rotate(ps[0]+3.141592653589793); tf.translate(0,_core.height); tf.translate(_core.p1.x,_core.p1.y-_core.height); page[1].transform=tf; 我全用transform了, 达到了想要的效果 cuixueying ...

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

37. laya.d3.core.Transform3D [ 83%]

...olean = true, isRadian:Boolean = true):void 旋转变换。 Transform3D  translate(translation:Vector3, isLocal:Boolean = true):void 平移变换。 Transform3DProperty Detaildummypropertydummy:AnimationTransform3D 取关联虚拟变换。 Implementation     public function get dummy():Animati...

来源: laya_api 发布时间: 20170929

38. laya.d3.math.OrientedBoundBox [ 83%]

...t:Matrix4x4):void 变换该包围盒的矩阵信息。 OrientedBoundBox  translate(translation:Vector3):void 平移该包围盒。 OrientedBoundBoxProperty Detailextentspropertypublic var extents:Vector3每个轴长度的一半transformationproperty public var transformation:Matrix4x4这个矩阵...

来源: laya_api 发布时间: 20170929

39. 粒子系统-场景与粒子 [ 83%]

...r camera = scene.addChild(new Laya.Camera(0, 0.1, 100)) ; camera.transform.translate(new Laya.Vector3(0, 1, 0)); camera.addComponent(CameraMoveScript);class Particle_Scene { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCRE...

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

40. laya.maths.Matrix4x4_API3.0 [ 82%]

...Scale decomposeYawPitchRoll equalsOtherMatrix getForward getInvertFront getTranslationVector identity invert isIdentity normalize setForward setPosition setRotation setTranslationVector transpose billboard createAffineTransformation createFromQuaternion createLookAt createOrthoOffCenter createPerspe...

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