Redigera

Dela via


BoundsExtensions.GetInvalidBoundsInstance Method

Definition

Returns an instance of the 'Bounds' class which is invalid. An invalid 'Bounds' instance is one which has its size vector set to 'float.MaxValue' for all 3 components. The center of an invalid bounds instance is the zero vector.

public:
 static UnityEngine::Bounds GetInvalidBoundsInstance();
public static UnityEngine.Bounds GetInvalidBoundsInstance ();
static member GetInvalidBoundsInstance : unit -> UnityEngine.Bounds
Public Function GetInvalidBoundsInstance () As Bounds

Returns

UnityEngine.Bounds

Applies to