Method SetBakingSessionPadding
SetBakingSessionPadding(uint, int)
Change the dilation applied to maps baked from the given session. All maps baked after the call to this function will be affected by the new value. The default value of a newly created session is 2.
Declaration
[HandleProcessCorruptedStateExceptions]
public void SetBakingSessionPadding(uint sessionId, int padding)
Parameters
Type | Name | Description |
---|---|---|
uint | sessionId | Baking session Id |
int | padding | Number of pixels to fill around baked islands. -1 means infinite dilation. |