BoundsExtensions.IsValid(Bounds) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if the specified bounds instance is valid. A valid 'Bounds' instance is one whose size vector does not have all 3 components set to 'float.MaxValue'.
public:
[System::Runtime::CompilerServices::Extension]
static bool IsValid(UnityEngine::Bounds bounds);
public static bool IsValid (this UnityEngine.Bounds bounds);
static member IsValid : UnityEngine.Bounds -> bool
<Extension()>
Public Function IsValid (bounds As Bounds) As Boolean
Parameters
- bounds
- UnityEngine.Bounds