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

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

21. laya.d3.math.Matrix4x4 [ 73%]

...trix4x4):void[static] 计算仿射矩阵 Matrix4x4  createFromQuaternion(rotation:Quaternion, out:Matrix4x4):void[static] 从四元数计算旋转矩阵 Matrix4x4  createLookAt(eye:Vector3, target:Vector3, up:Vector3, out:Matrix4x4):void[static] 计算观察矩阵 Matrix4x4  createOrthoOffCent...

来源: laya_api 发布时间: 20170929

22. 使用3D精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 72%]

...alue(-1.5, 0, 0.0); this.sprite3d.translate(this.position1); //旋转 this.rotate1.setValue(0, 60, 0); this.sprite3d.rotate(this.rotate1, false, false); //缩放 var scale = this.sprite3d.localScale; scale.setValue(0.1, 0.1, 0.1); this.sprite3d.localScale = scale; 三、子父级关系 Sprite3D继...

来源: Laya3.0_文档 发布时间: 20251010

23. laya.d3.utils.Utils3D [ 71%]

... transformVector3ArrayByQuat(sourceArray:Float32Array, sourceOffset:int, rotation:Quaternion, outArray:Float32Array, outOffset:int):void[static] 根据四元数旋转三维向量。 Utils3D  transformVector3ArrayToVector3ArrayCoordinate(source:Float32Array, sourceOffset:int, transform:Matrix4x4, ...

来源: laya_api 发布时间: 20170929

24. laya.d3.math.Matrix3x3 [ 69%]

...阵(原则为upper-left,忽略第四行四列) Matrix3x3  createFromRotation(rad:Number, out:Matrix3x3):void[static] 根据指定旋转生成3x3矩阵 Matrix3x3  createFromScaling(scale:Vector2, out:Matrix3x3):void[static] 根据制定缩放生成3x3矩阵 Matrix3x3  createFromTranslation(...

来源: laya_api 发布时间: 20170929

25. laya.d3.math.Matrix3x3 [ 69%]

...阵(原则为upper-left,忽略第四行四列) Matrix3x3  createFromRotation(rad:Number, out:Matrix3x3):void[static] 根据指定旋转生成3x3矩阵 Matrix3x3  createFromScaling(scale:Vector2, out:Matrix3x3):void[static] 根据制定缩放生成3x3矩阵 Matrix3x3  createFromTranslation(...

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

26. laya.display.Graphics_API3.0 [ 68%]

...图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行变化。 Graphics以命令流方式存储,可以通过cmds属性访问所有命令流。Graphics是比Sprite更轻量级的对象,合理使用能提高应用性能(...

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

27. laya.ani.GraphicsAni_API3.0 [ 67%]

... fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): GraphicsAni Inherited from Graphics.constructor Defined in laya/display/Graphics.ts:54 Returns GraphicsAni Accessors ...

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

28. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...,对它设置任何改变外观的属性都将导致图形重绘: var rotation=0, scale=1, position=0; private function setRotation(value):void { this.rotation=value; update(); } private function setScale(value):void { this.scale = value; update(); } private function setPosition(value):void { th...

来源: Laya3.0_文档 发布时间: 20251010

29. laya.ui.AutoBitmap_API3.0 [ 64%]

... fillBorderText fillText fillTexture getBounds 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 _...

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

30. laya.maths.Matrix [ 64%]

...相乘,结果赋值给指定的输出数组,长度为16。 Matrix  rotate(angle:Number):void 对 Matrix 对象应用旋转转换。 Matrix  scale(x:Number, y:Number):void 对矩阵应用缩放转换。 Matrix  setTo(a:Number, b:Number, c:Number, d:Number, tx:Number, ty:Number):Matrix 将 M...

来源: laya_api 发布时间: 20170929