大约有 3 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0017 秒)
...late(translation: Vector3, isLocal: boolean = true): void { if (isLocal) { Matrix4x4.createFromQuaternion(this.localRotation, Transform3D._tempMatrix0); Vector3.transformCoordinate(translation, Transform3D._tempMatrix0, Transform3D._tempVector30); Vector3.add(this.localPosition, Transform3D._tempVec...
来源: Laya3.0_文档 发布时间: 20251010
...型 uniform变量的常见类型:Texture2D,Vector2,Vector4,Float,Matrix4x4。 Texture2D:用于2D纹理采样的图片类型。 Vector2:二维向量,用于2D的坐标位置表示。 Vector4:四维向量,用于表示颜色。 Float:浮点类型。 Matrix4X4:4X4齐次矩阵。 S...
来源: Laya3.0_文档 发布时间: 20251010
...orm3D = destSprite3D.transform; if (worldPositionStays) { var worldMatrix: Matrix4x4 = transform.worldMatrix; original.transform.worldMatrix.cloneTo(worldMatrix); transform.worldMatrix = worldMatrix; } else { (position) && (transform.position = position); (rotation) && (transform.rot...
来源: Laya3.0_文档 发布时间: 20251010