Edit

Share via


BoundsExtensions.IsValid(Bounds) Method

Definition

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

Returns

Applies to