Y() public method

public Y ( ) : float
return float
Esempio n. 1
0
        static public NFMsg.Vector3 NFToPB(NFVector3 value)
        {
            NFMsg.Vector3 vector = new NFMsg.Vector3();
            vector.x = value.X();
            vector.y = value.Y();
            vector.z = value.Z();

            return(vector);
        }
Esempio n. 2
0
        public static NFVector3 sub(NFVector3 va, NFVector3 vb)
        {
            NFVector3 vector = new NFVector3();

            vector.SetX(va.X() - vb.X());
            vector.SetY(va.Y() - vb.Y());
            vector.SetZ(va.Z() - vb.Z());
            return(vector);
        }
Esempio n. 3
0
        public NFMsg.Vector3 NFToPB(NFVector3 value)
        {
            NFMsg.Vector3 vector = new NFMsg.Vector3();
            vector.X = value.X();
            vector.Y = value.Y();
            vector.Z = value.Z();

            return(vector);
        }
Esempio n. 4
0
    static public NFMsg.Vector3 NFToPB(NFVector3 value)
    {
        NFMsg.Vector3 vector = new NFMsg.Vector3();
        vector.x = value.X();
        vector.y = value.Y();
        vector.z = value.Z();

        return vector;
    }
Esempio n. 5
0
 public static NFVector3 add(NFVector3 va, NFVector3 vb)
 {
     NFVector3 vector = new NFVector3();
     vector.SetX(va.X() + vb.X());
     vector.SetY(va.Y() + vb.Y());
     vector.SetZ(va.Z() + vb.Z());
     return vector;
 }