AmplifyImpostorAsset
A class in Root.Township, the global namespace.
Asset from the third-party Amplify Impostors tool: the bake settings and result (mesh and material) for a billboard impostor of a model.
- Listed in Global namespace: A to B
- Inherits or implements
ScriptableObject - Attributes
CreateAssetMenu
Constructors
| Member | What it is |
|---|---|
AmplifyImpostorAsset() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
| Member | What it is |
|---|---|
bool DecoupleAxisFrames | Whether horizontal and vertical frame counts are set separately. |
int HorizontalFrames | How many views are baked around the horizontal axis (1 to 32). |
ImpostorType ImpostorType | The impostor layout, such as octahedron (the default). |
bool LockedSizes | Whether the texture width and height are locked to the same size. |
Material Material | The baked impostor material. |
int MaxVertices | Most vertices the impostor's outline mesh may use (4 to 16). |
Mesh Mesh | The baked impostor mesh. |
float NormalScale | Scale applied to the baked normals. |
List<TextureOutput> OverrideOutput | Texture outputs that replace the preset's. |
int PixelPadding | Padding in pixels around each baked frame. |
AmplifyImpostorBakePreset Preset | The bake preset that sets which textures are produced. |
int SelectedSize | The chosen texture size, 2048 by default. |
Vector2[] ShapePoints | The outline of the impostor mesh in 0 to 1 space, an octagon by default. |
Vector2 TexSize | The baked texture's width and height. |
float Tolerance | How closely the outline mesh follows the model's shape. |
int Version | Format version of the asset. |
int VerticalFrames | How many views are baked around the vertical axis (1 to 33). |