Method BakeMaterialPropertyMap
BakeMaterialPropertyMap(uint, string, int, ColorAlpha?)
Baking of custom material properties
Declaration
[HandleProcessCorruptedStateExceptions]
public ImageList BakeMaterialPropertyMap(uint sessionId, string propertyName, int nComponents = 3, ColorAlpha? defaultColor = null)
Parameters
Type | Name | Description |
---|---|---|
uint | sessionId | Baking session Id |
string | propertyName | Name of the material property to bake (must be a color, a coeff or a texture) |
int | nComponents | Expected number of components per pixel for the resulting maps |
ColorAlpha? | defaultColor | Color used for filling unbaked texels |
Returns
Type | Description |
---|---|
ImageList |