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

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

41. laya.ui.AutoBitmap [ 78%]

...Number = 0, pivotY:Number = 0):RotateCmd 旋转当前绘图。(推荐使用transform,性能更高) Graphics save():SaveCmd 保存当前环境的状态。 Graphics scale(scaleX:Number, scaleY:Number, pivotX:Number = 0, pivotY:Number = 0):ScaleCmd 缩放当前绘图至更大或更小。(推荐使...

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

42. laya.ui.AutoBitmap_API3.0 [ 77%]

...etBounds loadImage removeCmd restore rotate save scale setState strokeText transform translate Constructors constructor new AutoBitmap(): AutoBitmap Inherited from Graphics.constructor Defined in laya/display/Graphics.ts:54 Returns AutoBitmap Properties _color _color: string = "#ffffff" Defined in l...

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

43. laya.ani.bone.canvasmesh.SkinMeshForGraphic_API3.0 [ 77%]

...ic Index Constructors constructor Properties canvasPadding indexes texture transform useUvTransform uvTransform uvs vertices Methods getBounds init2 Constructors constructor new SkinMeshForGraphic(): SkinMeshForGraphic Defined in laya/ani/bone/canvasmesh/SkinMeshForGraphic.ts:9 创建SkinGraphic Mes...

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

44. 官方DynamicBatchTest照做为什么动态合不了批? [ 77%]

... 1);   var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 6.2, 10.5)); camera.transform.rotate(new Laya.Vector3(-40, 0, 0), true, false); camera.addComponent(CameraMoveScript);   Laya.Texture2D.load("res/threeDimen/layabox.png", Laya.Handler....

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

45. laya.d3.utils.Utils3D_API3.0 [ 77%]

...deByHierarchyPath _getParentNodeByHierarchyPath billboardTrans createAffineTransformationArray getURLVerion mulMatrixByArray mulMatrixByArrayAndMatrixFast mulMatrixByArrayFast quaternionWeight transformQuat transformVector3ArrayByQuat transformVector3ArrayToVector3ArrayCoordinate transformVector3Arr...

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

46. 用Transform和直接设置xy坐标的效果不一致 [ 77%]

Transform和直接设置xy坐标的效果不一致 LayaAir2.0直接设置坐标的效果是正确的,设置transform不正确。在LayaAir1.x两个效果都是一致的。 let txt: Laya.Text = new Laya.Text(); txt.text = "HELLO"; txt.color = "#ffffff"; txt.x = 1136 / 2, txt.y = 320; Laya.stage...

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

47. pivot 设置后 影响 元素大小??????????????? [ 75%]

...0,_core.height); tf.translate(_core.p1.x,_core.p1.y-_core.height); page[1].transform=tf; 我全用transform了, 达到了想要的效果 cuixueying • 2016-12-14 14:14 好的,有问题及时沟通!

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

48. 挂载元素的空间变换没有加上被挂载元素的本身空间变换 [ 74%]

...mationDatas[i] = avatarWorldMatrix;                     nodeTransform._setWorldMatrixAndUpdate(avatarWorldMatrix);                     var spriteWorldMatrix:Matrix4x4 = spriteTransform.worldMatrix;                     Matrix4x4.multiply((_owner as Sprite3...

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

49. 修复开放数据域组件WXOpenDataViewer鼠标不能拖动的问题 [ 73%]

... Laya.Stage = Laya.stage;              mat.scale(stage._canvasTransform.getScaleX() * this.globalScaleX * stage.transform.getScaleX(), stage._canvasTransform.getScaleY() * this.globalScaleY * stage.transform.getScaleY());             this.postMsg({ type: "changeMatrix", a: m...

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

50. 按钮点击的位置发生偏移 [ 72%]

...回复 Laya_XS 赞同来自: 你可以通过 var matrix = Laya.stage.get_transform(); 第一个方法: matrix.tx += 100;//水平方向移动; matrix.ty += 100;//垂直方向移动; 第二个方法: matrix.translate('水平方向移动','垂直方向移动'); 2020-08-25 0 4 分享 微博 QZONE 微信...

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