DirectShape.AddReferencePlane(Plane, BoundingBoxUV)
Method
Description:
Adds a reference plane to the DirectShape. The reference plane can either be bounded or unbounded.
Adds a reference plane to the DirectShape. The reference plane can either be bounded or unbounded.
Parameters
Parameter | Type | Description |
---|---|---|
refPlane | Plane | The geometry of the new reference plane. |
boundingBoxUV | BoundingBoxUV | If boundingBoxUV is set, the resulting reference plane that is added to the DirectShape will be displayed with those bounds. Note that the specified bounds must not be degenerate. If boundingBoxUV is not set, reasonable bounds are automatically calculated and applied to the input plane. The automatic bounds are based on the host direct shape's geometry. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | boundingBoxUV cannot be used as a BoundingBoxUV for the reference plane surface. |
ArgumentNullException | A non-optional argument was null |