RandomRotation3d
A class in Root.Township, the global namespace.
Generation part that gives its object a fully random rotation when the static generation runs.
- Listed in Global namespace: Q to R
- Inherits or implements
GeneratablePart - Attributes
AddComponentMenu
Constructors
| Member | What it is |
|---|---|
RandomRotation3d() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Methods
| Member | What it is |
|---|---|
override void GenerateStatic(GenerationCore core, bool isModifyingTerrain) | Sets the transform to a uniformly random rotation. |