Method CreateBillboard
CreateBillboard(OccurrenceList, int, bool, bool, bool, bool, bool, bool, bool, bool)
Create a billboard imposter
Declaration
[HandleProcessCorruptedStateExceptions]
public uint CreateBillboard(OccurrenceList occurrences, int resolution = 1024, bool XPositive = true, bool XNegative = true, bool YPositive = true, bool YNegative = true, bool ZPositive = true, bool ZNegative = true, bool moveFacesToCenter = true, bool leftHandedNormalMap = false)
Parameters
| Type | Name | Description |
|---|---|---|
| OccurrenceList | occurrences | Occurrences to bake in the billboard |
| int | resolution | Total resolution of the billboard (contains all wanted faces) |
| bool | XPositive | Bake face facing X+ |
| bool | XNegative | Bake face facing X- |
| bool | YPositive | Bake face facing Y+ |
| bool | YNegative | Bake face facing Y- |
| bool | ZPositive | Bake face facing Z+ |
| bool | ZNegative | Bake face facing Z- |
| bool | moveFacesToCenter | If true, all face are moved to the center of the AABB of the occurrences, else it will shape an AABB |
| bool | leftHandedNormalMap | If true, a left handed normal map will be generated |
Returns
| Type | Description |
|---|---|
| uint |