示例#1
0
        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
        }
示例#2
0
 internal static extern void Internal_GetOrientedBox(IntPtr obj, out OrientedBoundingBox resultAsRef);
示例#3
0
 internal static extern void Internal_DrawOrientedBoundingBox(ref OrientedBoundingBox box, ref Color color, float duration, bool depthTest);
示例#4
0
 /// <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);
 }
示例#5
0
 /// <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)
 {
 }