PointContents() public static method

SV_PointContents
public static PointContents ( Vector3 &p ) : int
p Vector3
return int
コード例 #1
0
        /// <summary>
        /// PF_pointcontents
        /// </summary>
        static unsafe void PF_pointcontents()
        {
            float * v = GetVector(OFS.OFS_PARM0);
            Vector3 tmp;

            Copy(v, out tmp);
            ReturnFloat(Server.PointContents(ref tmp));
        }