DisplayPipelineIsVisible Method (RhinoObject) |
Test a given object for visibility inside the view frustum under the current viewport and model
transformation settings. This function calls a virtual IsVisibleFinal function that
sub-classed pipelines can add extra tests to. In the base class, this test only tests
visibility based on the objects world coordinates location and does not pay attention
to the object's attributes.
NOTE: Use CRhinoDisplayPipeline::IsVisible() to perform "visibility"
tests based on location (is some part of the object in the view frustum).
Use CRhinoDisplayPipeline::IsActive() to perform "visibility"
tests based on object type.
Namespace:
Rhino.Display
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public bool IsVisible(
RhinoObject rhinoObject
)
Public Function IsVisible (
rhinoObject As RhinoObject
) As Boolean
Parameters
- rhinoObject
- Type: Rhino.DocObjectsRhinoObject
Object to test.
Return Value
Type:
Booleantrue if the object is visible, false if not.
See Also