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: 18.04.00
Syntaxpublic 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:
ImportedImageVisualNew imported image visual.
See Also