![]() |
LayerProcGen v0.5.0
Layer-based infinite procedural generation
|
Unity component that can move the FloatingOrigin based on the given transform position. More...
Inherits MonoBehaviour.
Public Attributes | |
| int | incrementDist = 1000 |
| The origin is shifted if the transform position is further than this distance from the current origin (along the cardinal directions in the generation plane). | |
| Point | origin |
| The current origin as a 2D point in the generation plane. | |
Properties | |
| Point3 | originAs3D [get] |
| The origin as a 3D position where one axis is zero. This function depends on a LayerManagerBehavior being present in the scene to determine whether generation happens in the XY or XZ plane. | |
Unity component that can move the FloatingOrigin based on the given transform position.