Class BillboardGenerator
Generates a billboard GameObject from a GameObject hierarchy.
Inherited Members
Namespace: UnityEditor.Pixyz.UnitySDK
Assembly: Unity.Pixyz.UnitySDK.Editor.dll
Syntax
public static class BillboardGenerator
Methods
Run(GameObject, int, Directions, bool, bool)
Generate a billboard GameObject from a GameObject hierarchy.
Declaration
public static GameObject Run(GameObject root, int resolution, BillboardGenerator.Directions direction, bool fullCard, bool moveToCenter)
Parameters
Type | Name | Description |
---|---|---|
GameObject | root | Root GameObject. |
int | resolution | Resolution of the output billboard textures. |
BillboardGenerator.Directions | direction | Axis of the generated view. |
bool | fullCard | Full card billboard |
bool | moveToCenter | Generate the billboard at the center of the bounds of the input GameObjects. |
Returns
Type | Description |
---|---|
GameObject | The billboard GameObject |