Converts a Primitive3D into a ModelVisual3D

Namespace: Ico.Gwx
Assembly: Gwx3DControl (in Gwx3DControl.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public ModelVisual3D ConvertPrimitiveToGeometry(
	Primitive3D primitive
)
Visual Basic
Public Function ConvertPrimitiveToGeometry ( _
	primitive As Primitive3D _
) As ModelVisual3D
JScript
public function ConvertPrimitiveToGeometry(
	primitive : Primitive3D
) : ModelVisual3D

Parameters

primitive
Type: Ico.Windows.Media.Media3D..::..Primitive3D
The Primitive3D to convert

Return Value

the resulting ModelVisual3D representing the Primitive3D

See Also