RotatedPositionHelper
A class in Root.Township, the global namespace.
Lays out a number of positions on an arc around a transform's forward axis. Used by ProfessionsProgressShrine to place its tree visuals.
- Listed in Global namespace: Q to R
Constructors
| Member | What it is |
|---|---|
RotatedPositionHelper(Transform origin, int instancesCount, float spread, float radius, PositioningMode positionedMode = 0) | Creates a RotatedPositionHelper from origin, instancesCount, spread, radius and positionedMode. |
Properties
Methods
| Member | What it is |
|---|---|
Vector3 GetPosition(int index) | Returns the world position of the instance at an index along the arc. |