Entity.IsInFrustum (FrustumParams, Point3D, Double) Method

Tells if the sphere surrounding the entity is inside the frustum planes.
Public Overridable Function IsInFrustum( _ 
ByVal data As FrustumParams, _ 
ByVal center As Point3D, _ 
ByVal radius As Double
) As Boolean
This language is not supported or no code example is available.
public virtual bool IsInFrustum( 
FrustumParams data
Point3D center
double radius 
)
This language is not supported or no code example is available.

Parameters

data
FrustumParams

The frustum data

center
Point3D

Center of the sphere (transformed by the scene transformation)

radius
double

Radius of the sphere (scaled by the maximum scale applied by the scene transformation)

Return Value

bool

True if the sphere is inside the frustum planes.

Remarks
 
It's important when applying an on-the-fly transformation in the BlockReference.MoveTo to override this method and call the base method with the center transformed in the same way, in order to avoid undesired clipping.

.NET Framework

Supported in: 4.8

In this article

Definition