Definition at line 12 of file MyDebug.cs.
static void VRage.Utils.MyDebug.AssertDebug |
( |
bool |
condition | ) |
|
|
inlinestatic |
This "assert" is executed in DEBUG mode. Because people dont know how to use AssertRelease!
- Parameters
-
Definition at line 59 of file MyDebug.cs.
static void VRage.Utils.MyDebug.AssertDebug |
( |
bool |
condition, |
|
|
string |
assertMessage |
|
) |
| |
|
inlinestatic |
This "assert" is executed in DEBUG mode. Because people dont know how to use AssertRelease!
- Parameters
-
Definition at line 70 of file MyDebug.cs.
static void VRage.Utils.MyDebug.AssertIsValid |
( |
Vector3 |
vec | ) |
|
|
inlinestatic |
Returns true if Vector3 is valid
- Parameters
-
- Returns
Definition at line 138 of file MyDebug.cs.
static void VRage.Utils.MyDebug.AssertIsValid |
( |
Vector3? |
vec | ) |
|
|
inlinestatic |
Returns true if Vector3 is valid
- Parameters
-
- Returns
Definition at line 148 of file MyDebug.cs.
static void VRage.Utils.MyDebug.AssertIsValid |
( |
Vector2 |
vec | ) |
|
|
inlinestatic |
Returns true if Vector2 is valid
- Parameters
-
- Returns
Definition at line 158 of file MyDebug.cs.
static void VRage.Utils.MyDebug.AssertIsValid |
( |
float |
f | ) |
|
|
inlinestatic |
Returns true if float is valid
- Parameters
-
- Returns
Definition at line 168 of file MyDebug.cs.
static void VRage.Utils.MyDebug.AssertIsValid |
( |
Matrix |
matrix | ) |
|
|
inlinestatic |
static void VRage.Utils.MyDebug.AssertIsValid |
( |
Quaternion |
q | ) |
|
|
inlinestatic |
static void VRage.Utils.MyDebug.AssertRelease |
( |
bool |
condition | ) |
|
|
inlinestatic |
This "assert" is executed in DEBUG and RELEASE modes. Use it in code that that won't suffer from more work (e.g. loading), not in frequently used loops
- Parameters
-
Definition at line 18 of file MyDebug.cs.
static void VRage.Utils.MyDebug.AssertRelease |
( |
bool |
condition, |
|
|
string |
assertMessage |
|
) |
| |
|
inlinestatic |
This "assert" is executed in DEBUG and RELEASE modes. Use it in code that that won't suffer from more work (e.g. loading), not in frequently used loops
- Parameters
-
Definition at line 27 of file MyDebug.cs.
static void VRage.Utils.MyDebug.FailRelease |
( |
string |
message | ) |
|
|
inlinestatic |
Logs the message on release and also displays a message on DEBUG.
- Parameters
-
Definition at line 40 of file MyDebug.cs.
static void VRage.Utils.MyDebug.FailRelease |
( |
string |
format, |
|
|
params object[] |
args |
|
) |
| |
|
inlinestatic |
static bool VRage.Utils.MyDebug.IsValid |
( |
float |
f | ) |
|
|
inlinestatic |
Returns true if float is valid
- Parameters
-
- Returns
Definition at line 80 of file MyDebug.cs.
static bool VRage.Utils.MyDebug.IsValid |
( |
Vector3 |
vec | ) |
|
|
inlinestatic |
Returns true if Vector3 is valid
- Parameters
-
- Returns
Definition at line 90 of file MyDebug.cs.
static bool VRage.Utils.MyDebug.IsValid |
( |
Vector2 |
vec | ) |
|
|
inlinestatic |
Returns true if Vector2 is valid
- Parameters
-
- Returns
Definition at line 107 of file MyDebug.cs.
static bool VRage.Utils.MyDebug.IsValid |
( |
Vector3? |
vec | ) |
|
|
inlinestatic |
Returns true if Vector3 is valid
- Parameters
-
- Returns
Definition at line 117 of file MyDebug.cs.
static bool VRage.Utils.MyDebug.IsValid |
( |
Matrix |
matrix | ) |
|
|
inlinestatic |
static bool VRage.Utils.MyDebug.IsValid |
( |
Quaternion |
q | ) |
|
|
inlinestatic |
static bool VRage.Utils.MyDebug.IsValidNormal |
( |
Vector3 |
vec | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: