Constructors
MaterialThumbnail
#Set up a minimal material thumbnail.
public MaterialThumbnail()
Bitmap
diffuse,
Required shape diffuse contribution.
Bitmap
shapeShine
Required shape shine map.
MaterialThumbnail
#Set up a complete material thumbnail.
public MaterialThumbnail()
Bitmap
diffuse,
Required shape diffuse.
Bitmap
shine,
Required shape shine.
Bitmap
context,
Optional context.
Bitmap
directIllumination,
Optional context direct lighting map.
Bitmap
indirectIllumination,
Optional context indirect lighting map.
silhouettes,
Optional list of silhouette edges.
visibleEdges,
Optional list of visible edges.
hiddenEdges
Optional list of hidden edges.
MaterialThumbnail
#Set up a standard material thumbnail.
public MaterialThumbnail()
Bitmap
diffuse,
Required shape diffuse contribution.
Bitmap
shine,
Required shape shine map.
silhouettes,
Optional list of silhouette edges.
visibleEdges,
Optional list of visible edges.
hiddenEdges
Optional list of hidden edges.
Properties
Methods
CreateFromFolder
#Create a new thumbnail preview scene from a folder. The folder must contain correctly named and proportioned image files.
Returns: Material thumbnail constructed from the files in the folder.
DrawThumbnail
#Create a thumbnail for a preview material.
public Bitmap DrawThumbnail()
guise,
Preview material.
Color
background,
Background colour.
layers
Layers to include in the preview.
Returns: Thumbnail.