UnityEngine.Vector4.Dot C# (CSharp) 메소드

Dot() 공개 정적인 메소드

public static Dot ( Vector4 a, Vector4 b ) : float
a Vector4
b Vector4
리턴 float
        public static float Dot(Vector4 a, Vector4 b)
        {
            return (float)(a.x * (double)b.x + a.y * (double)b.y + a.z * (double)b.z + a.w * (double)b.w);
        }
    }

Usage Example

예제 #1
0
 public float SqrMagnitude()
 {
     return(Vector4.Dot(this, this));
 }
All Usage Examples Of UnityEngine.Vector4::Dot