Generates an asteroid shape
More...
|
| float | radius |
| | The desired reference surface of the asteroid mesh More...
|
| |
Generates an asteroid shape
| PAsteroid ProceduralAsteroid.Generate |
( |
int |
seed, |
|
|
float |
radius, |
|
|
Transform |
parent |
|
) |
| |
Initializes a randomly generated asteroid shape
- Parameters
-
| seed | Used to randomize the mesh |
| radius | The desired reference surface of the asteroid mesh |
| parent | The reference frame in which the asteroid is to be oriented |
Note: parent may not be null, even though UnityEngine.Transforms are usually allowed to have null parents.
- Returns
- An object containing all relevant meshes and key statistics
| float ProceduralAsteroid.radius |
The desired reference surface of the asteroid mesh
The documentation for this class was generated from the following file: