UnityEngine.NavMesh.INTERNAL_CALL_Raycast C# (CSharp) Method

INTERNAL_CALL_Raycast() private method

private INTERNAL_CALL_Raycast ( Vector3 &sourcePosition, Vector3 &targetPosition, NavMeshHit &hit, int areaMask ) : bool
sourcePosition Vector3
targetPosition Vector3
hit NavMeshHit
areaMask int
return bool
        private static extern bool INTERNAL_CALL_Raycast(ref Vector3 sourcePosition, ref Vector3 targetPosition, out NavMeshHit hit, int areaMask);
        [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]

Usage Example

コード例 #1
0
ファイル: NavMesh.cs プロジェクト: zhkuang/UnityDecompiled
 public static bool Raycast(Vector3 sourcePosition, Vector3 targetPosition, out NavMeshHit hit, int areaMask)
 {
     return(NavMesh.INTERNAL_CALL_Raycast(ref sourcePosition, ref targetPosition, out hit, areaMask));
 }