C# Class UnityCommonLibrary.Utility.BoundsUtility

显示文件 Open project: thebeardphantom/UnityCommonLibrary

Public Methods

Method 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 method

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

RandomPointInside() public static method

public static RandomPointInside ( this bounds ) : Vector3
bounds this
return UnityEngine.Vector3