Click or drag to resize

ImportedImageVisualCreateFromImage Method

Create a new ImportedImageVisual parented to the scene of the supplied document from the supplied Image.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public static ImportedImageVisual CreateFromImage(
	Document doc,
	Image image,
	string name
)

Parameters

doc
Type: Demo3D.VisualsDocument
Document to add image visual to.
image
Type: System.DrawingImage
Image to display on the image visual.
name
Type: SystemString
Name of the visual and the texture.

Return Value

Type: ImportedImageVisual
New imported image visual.
See Also