|
PComet | Generate (int seed, float radius, Transform parent, System.Func< Transform, float > rangefinder, Callback onComplete, bool optimizeCollider, bool isSecondary=false) |
| Generate a Comet. More...
|
|
PComet ProceduralComet.Generate |
( |
int |
seed, |
|
|
float |
radius, |
|
|
Transform |
parent, |
|
|
System.Func< Transform, float > |
rangefinder, |
|
|
Callback |
onComplete, |
|
|
bool |
optimizeCollider, |
|
|
bool |
isSecondary = false |
|
) |
| |
|
inline |
Generate a Comet.
- Parameters
-
seed | Seed for procedural terrain |
radius | Radius of core |
parent | Parent transform |
rangefinder | |
onComplete | Callback when generate is completed. |
optimizeCollider | Whether to generate an optimized collider (low poly, but not matching the terrain) or false will generate matching collider |
isSecondary | |
- Returns
The documentation for this class was generated from the following file: