BoundsExtensions.ExpandToContain(Bounds, 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.
Returns bounds that contain both this bounds and the bounds passed in.
public:
[System::Runtime::CompilerServices::Extension]
static UnityEngine::Bounds ExpandToContain(UnityEngine::Bounds originalBounds, UnityEngine::Bounds otherBounds);
public static UnityEngine.Bounds ExpandToContain (this UnityEngine.Bounds originalBounds, UnityEngine.Bounds otherBounds);
static member ExpandToContain : UnityEngine.Bounds * UnityEngine.Bounds -> UnityEngine.Bounds
<Extension()>
Public Function ExpandToContain (originalBounds As Bounds, otherBounds As Bounds) As Bounds
Parameters
- originalBounds
- UnityEngine.Bounds
- otherBounds
- UnityEngine.Bounds
Returns
UnityEngine.Bounds