Class BakeImpostor
Generate an impostor based on the input
Inheritance
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.Toolbox
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public class BakeImpostor : PixyzFunction
Fields
Name | Description |
---|---|
atlasSize | Define the number of capture the will be taken. |
customMesh | If the impostor rely on a custom mesh, this where the mesh will be stored |
customMeshSubmeshIndex | Specify which submesh will be used when rendering on a custom mesh |
impostorType | Define the type of Octahedron that will be used |
mapsResolution | Resolution of generated maps used for the impostor |
renderOn | Define the type of mesh that will be used to render the impostor |
resolution | In case the resolution is a custom value this field will contain it |
Properties
Name | Description |
---|---|
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; |
Methods
Name | Description |
---|---|
getErrors() | Check if the current context will allow the correct execution of this action |
postProcess() | Process the result of the action to be used into the source context in it's final form. |
preProcess(IList<GameObject>, bool) | Prepare the execution of the action |
process() | Execute the behavior of this action by creating obb box in pixyz |