Editar

Compartir a través de


BoundsExtensions.ExpandToContain(Bounds, Bounds) Method

Definition

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

Applies to