BoundingFrustum.Contains Method (BoundingFrustum)

Checks whether the current BoundingFrustum contains the specified BoundingFrustum.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public ContainmentType Contains (
         BoundingFrustum frustum
)

Parameters

frustum
The BoundingFrustum to check against the current BoundingFrustum.

Return Value

Enumeration indicating the relationship of the current BoundingFrustum to the specified BoundingFrustum.

Exception typeCondition
ArgumentNullException frustum is null.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7

Community Additions

ADD
Show: