BoundingBox.CreateMerged Method (BoundingBox, BoundingBox, BoundingBox)
Creates the smallest BoundingBox that contains the two specified BoundingBox instances.
Syntax
'Declaration
Public Shared Sub CreateMerged ( _
ref original As BoundingBox, _
ref additional As BoundingBox, _
out result As BoundingBox _
)
public static void CreateMerged (
ref BoundingBox original,
ref BoundingBox additional,
out BoundingBox result
)
public:
static void CreateMerged(
ref BoundingBox original,
ref BoundingBox additional,
out BoundingBox result
)
Parameters
- original
Type: BoundingBox
One of the BoundingBox instances to contain. - additional
Type: BoundingBox
One of the BoundingBox instances to contain. - result
Type: BoundingBox
[OutAttribute] The created BoundingBox.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
BoundingBox Structure
BoundingBox Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone