RhinoObjectIsActiveInViewport Method |
Determine if this object is active in a particular viewport.
Namespace:
Rhino.DocObjects
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public virtual bool IsActiveInViewport(
RhinoViewport viewport
)
Public Overridable Function IsActiveInViewport (
viewport As RhinoViewport
) As Boolean
Parameters
- viewport
- Type: Rhino.DisplayRhinoViewport
[Missing <param name="viewport"/> documentation for "M:Rhino.DocObjects.RhinoObject.IsActiveInViewport(Rhino.Display.RhinoViewport)"]
Return Value
Type:
BooleanTrue if the object is active in viewport
Remarks
The default implementation tests for space and viewport id. This
handles things like testing if a page space object is visible in a
modeling view.
See Also