SetY() public method

public SetY ( float y ) : void
y float
return void
示例#1
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);
        }
示例#2
0
        static public NFVector3 PBToNF(NFMsg.Vector3 value)
        {
            NFVector3 vector = new NFVector3();

            vector.SetX(value.x);
            vector.SetY(value.y);
            vector.SetZ(value.z);

            return(vector);
        }
示例#3
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;
 }