大约有 284 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0038 秒)
Laya_社区(161) Laya2.0_文档(43) Laya_示例(41) Laya3.0_api(12) laya_api(10) Laya2.0_api(10) Laya3.0_文档(6) Laya2.0_示例(1)
...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
... 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
...:Matrix4x4):void[static] 根据缩放计算输出矩阵 Matrix4x4 createTranslate(trans:Vector3, out:Matrix4x4):void[static] 根据平移计算输出矩阵 Matrix4x4 decomposeTransRotMatScale(translation:Vector3, rotationMatrix:Matrix4x4, scale:Vector3):Boolean 分解矩阵为平移向量、...
来源: Laya2.0_api 发布时间: 20190513
... "name":"sharedunity" }, "customProps":{ "translate":[ 0, 0, 0 ], "rotation":[ 0, 0, 0, -1 ...
来源: Laya_社区 发布时间: 20180122
...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
...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
...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
...t:Matrix4x4):void 变换该包围盒的矩阵信息。 OrientedBoundBox translate(translation:Vector3):void 平移该包围盒。 OrientedBoundBoxProperty Detailextentspropertypublic var extents:Vector3每个轴长度的一半transformationproperty public var transformation:Matrix4x4这个矩阵...
来源: laya_api 发布时间: 20170929
...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_示例 发布时间: 20250220
...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