UnityEditor.HandleUtility.INTERNAL_CALL_IntersectRayMesh C# (CSharp) Method

INTERNAL_CALL_IntersectRayMesh() private method

private INTERNAL_CALL_IntersectRayMesh ( Ray &ray, Mesh mesh, Matrix4x4 &matrix, RaycastHit &hit ) : bool
ray UnityEngine.Ray
mesh UnityEngine.Mesh
matrix UnityEngine.Matrix4x4
hit UnityEngine.RaycastHit
return bool
        private static extern bool INTERNAL_CALL_IntersectRayMesh(ref Ray ray, Mesh mesh, ref Matrix4x4 matrix, out RaycastHit hit);
        private static bool Internal_FindNearestVertex(Camera cam, Vector2 screenPoint, Transform[] objectsToSearch, Transform[] ignoreObjects, out Vector3 vertex)

Usage Example

示例#1
0
		internal static bool IntersectRayMesh(Ray ray, Mesh mesh, Matrix4x4 matrix, out RaycastHit hit)
		{
			return HandleUtility.INTERNAL_CALL_IntersectRayMesh(ref ray, mesh, ref matrix, out hit);
		}