Create a new plane and combine it with the mesh

Namespace: Ico.Windows.Media.Media3D
Assembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public static void AddPlane(
	MeshGeometry3D mesh,
	Vector3D direction,
	Point3D position,
	double width,
	double length,
	int widthSegments,
	int lengthSegments,
	Vector customTile,
	double width2,
	bool mirror
)
Visual Basic
Public Shared Sub AddPlane ( _
	mesh As MeshGeometry3D, _
	direction As Vector3D, _
	position As Point3D, _
	width As Double, _
	length As Double, _
	widthSegments As Integer, _
	lengthSegments As Integer, _
	customTile As Vector, _
	width2 As Double, _
	mirror As Boolean _
)
JScript
public static function AddPlane(
	mesh : MeshGeometry3D, 
	direction : Vector3D, 
	position : Point3D, 
	width : double, 
	length : double, 
	widthSegments : int, 
	lengthSegments : int, 
	customTile : Vector, 
	width2 : double, 
	mirror : boolean
)

Parameters

mesh
Type: System.Windows.Media.Media3D..::..MeshGeometry3D
The mesh to combine the plane with
direction
Type: System.Windows.Media.Media3D..::..Vector3D
The direction of the new plane: must be one of the main axis
position
Type: System.Windows.Media.Media3D..::..Point3D
The center of the plane
width
Type: System..::..Double
The width of the plane
length
Type: System..::..Double
The height of the plane
widthSegments
Type: System..::..Int32
The number of segments used to divice the plane width
lengthSegments
Type: System..::..Int32
The number of segments used to divice the plane length
customTile
Type: System.Windows..::..Vector
The number of UV tiles to use for custom tiling
width2
Type: System..::..Double
The second width of the place: allows to build trapezoids
mirror
Type: System..::..Boolean
Set to true to mirror the mesh

See Also