Entity.IsInFrustum (FrustumParams, Point3D, Double) Method
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.
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
boolTrue if the sphere is inside the frustum planes.
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.