public static void DrawBox(OrientedBoundingBox box, Color color, float duration = 0.0f, bool depthTest = true) { #if UNIT_TEST_COMPILANT throw new NotImplementedException("Unit tests, don't support methods calls. Only properties can be get or set."); #else Internal_DrawOrientedBoundingBox(ref box, ref color, duration, depthTest); #endif }
internal static extern void Internal_GetOrientedBox(IntPtr obj, out OrientedBoundingBox resultAsRef);
internal static extern void Internal_DrawOrientedBoundingBox(ref OrientedBoundingBox box, ref Color color, float duration, bool depthTest);
/// <summary> /// Draws the box. /// </summary> /// <param name="box">The box.</param> /// <param name="color">The color.</param> /// <param name="duration">The duration (in seconds). Use 0 to draw it only once.</param> /// <param name="depthTest">If set to <c>true</c> depth test will be performed, otherwise depth will be ignored.</param> public static void DrawBox(OrientedBoundingBox box, Color color, float duration = 0.0f, bool depthTest = true) { Internal_DrawBox1(ref box, ref color, duration, depthTest); }
/// <summary> /// Draws the box. /// </summary> /// <param name="box">The box.</param> /// <param name="color">The color.</param> /// <param name="duration">The duration (in seconds). Use 0 to draw it only once.</param> /// <param name="depthTest">If set to <c>true</c> depth test will be performed, otherwise depth will be ignored.</param> public static void DrawBox(OrientedBoundingBox box, Color color, float duration = 0.0f, bool depthTest = true) { }