好奇这个函数底层是怎么实现的。所以就是浏览了一些参考文献,然后做了个小实验。现记录如下。其中也有一些问题没有解决。。先来看Unity Manual
public Vector3 MultiplyPoint(Vector3 point);
Description
Transforms a position by this matrix (generic).
Returns a position v transformed by the current fully arbitrary matrix. If the matrix is a regular 3D transformation matrix, it is much faster to use MultiplyPoint3x4 instead. MultiplyPoint is slower, but can handle projective transformations as well.
using UnityEngine; public class ScriptExample : MonoBehaviour { void Start() { // Fin

最低0.47元/天 解锁文章
269

被折叠的 条评论
为什么被折叠?



