Method FetchBakedMap
FetchBakedMap(uint, uint, uint, uint)
Returns information about one texel of a baked map (occurrence, polygon ID, parametric coordinates, material ID). Must be called inside a (begin/end)BakingSession block.
Declaration
[HandleProcessCorruptedStateExceptions]
public BakedValue FetchBakedMap(uint sessionId, uint x, uint y, uint mapId = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | sessionId | Baking session Id |
| uint | x | X coordinate of the map pixel to fetch |
| uint | y | Y coordinate of the map pixel to fetch |
| uint | mapId | Id of the map to fetch, if several are available |
Returns
| Type | Description |
|---|---|
| BakedValue |