M_Rhino_Geometry_Mesh_WithDisplacement - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs new mesh from the current one, with displacement applied to it.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public Mesh WithDisplacement(
MeshDisplacementInfo displacement
)
VB
Public Function WithDisplacement (
displacement As MeshDisplacementInfo
) As Mesh
- displacement
- Type: Rhino.Geometry.MeshDisplacementInfo
Information on mesh displacement.
Type: Mesh
A new mesh with shutlining.
Exception | Condition |
---|---|
ArgumentNullException | If displacer is null. |
InvalidOperationException | If displacement failed because of an error. The exception message specifies the error. |
Supported in: 6.0.16224.21491