Class CreateLightmapUVs
Creates UVs that can be used for the lightmaps
Inheritance
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.Toolbox
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public class CreateLightmapUVs : PixyzFunction
Fields
| Name | Description |
|---|---|
| padding | Define the padding that will be used during the repack |
| quality | Define the the size on which the repack UV should happen |
| resolution | The size define by the preset or the user for the repack |
Properties
| Name | Description |
|---|---|
| HierarchyMode | Returns how the hierarchy is synced with pixyz |
| SyncMaterials | Returns how material are synced with pixyz |
| id | Unique id of this action, generated when the file is generated |
| menuPathRuleEngine | The path used for the contextual menu in the RuleEngine |
| menuPathToolbox | The path used for the contextual menu in the Toolbox |
| order | The order to use when placing this action in a list. If the value is -1, the display name will be used instead; |
| tooltip | Quick description to describe the behavior of this action |
Methods
| Name | Description |
|---|---|
| getErrors() | Check if the current context will allow the correct execution of this action |
| onBeforeDraw() | Called before the ui editor code for this action is called |
| postProcess() | Process the result of the action to be used into the source context in it's final form. |
| process() | Execute the behavior of this action by creating UVs compatible with unity lighmap system |