UnityEngine.Vector4.Dot C# (CSharp) Method

Dot() public static method

public static Dot ( Vector4 a, Vector4 b ) : float
a Vector4
b Vector4
return 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