Esempio n. 1
0
        public static void DrawMesh(Mesh mesh, int submeshIndex, Vector3 position)
        {
            Vector3    one      = Vector3.one;
            Quaternion identity = Quaternion.identity;

            Gizmos.INTERNAL_CALL_DrawMesh(mesh, submeshIndex, ref position, ref identity, ref one);
        }
Esempio n. 2
0
        public static void DrawMesh(Mesh mesh, int submeshIndex)
        {
            Vector3    one      = Vector3.one;
            Quaternion identity = Quaternion.identity;
            Vector3    zero     = Vector3.zero;

            Gizmos.INTERNAL_CALL_DrawMesh(mesh, submeshIndex, ref zero, ref identity, ref one);
        }
Esempio n. 3
0
        public static void DrawMesh(Mesh mesh, int submeshIndex, Vector3 position, Quaternion rotation)
        {
            Vector3 one = Vector3.one;

            Gizmos.INTERNAL_CALL_DrawMesh(mesh, submeshIndex, ref position, ref rotation, ref one);
        }
Esempio n. 4
0
 public static void DrawMesh(Mesh mesh, int submeshIndex, [DefaultValue("Vector3.zero")] Vector3 position, [DefaultValue("Quaternion.identity")] Quaternion rotation, [DefaultValue("Vector3.one")] Vector3 scale)
 {
     Gizmos.INTERNAL_CALL_DrawMesh(mesh, submeshIndex, ref position, ref rotation, ref scale);
 }