C# Class UnityCommonLibrary.Utility.BoundsUtility

Afficher le fichier Open project: thebeardphantom/UnityCommonLibrary

Méthodes publiques

Méthode Description
CouldContain ( this bounds, Bounds target ) : bool

Returns true if this bounds.size >= target.size in all axes.

RandomPointInside ( this bounds ) : Vector3

Method Details

CouldContain() public static méthode

Returns true if this bounds.size >= target.size in all axes.
public static CouldContain ( this bounds, Bounds target ) : bool
bounds this
target UnityEngine.Bounds
Résultat bool

RandomPointInside() public static méthode

public static RandomPointInside ( this bounds ) : Vector3
bounds this
Résultat UnityEngine.Vector3