private float floorThreshold | Floor layer value at or below which a height level counts as open, used to lift the point to the first open level. |
private bool hasIdentityRotation | If true, spawn points always face the default rotation. |
private bool isOrientedWithFace | If true (and the point is raycasted), the point is rotated to match the surface normal it hit. |
private bool isOrientedWithFaceUpForced | When orienting with the hit surface, skips the extra 90 degree tilt that would otherwise be applied. |
private bool isRaycastDown | Raycast direction: down if true, up if false. |
private bool isRaycasted | If true, each point is raycast onto geometry and dropped if nothing is hit or the surface slope is out of range. |
private bool isRotationRandom | If true, uses a fully random rotation instead of a random yaw (when not identity or face oriented). |
private bool isUsingFloorLayer | If true, reads the render generator's floor layer to set each point's height. |
private float offset | Height offset added to each point, and added again above the raycast hit point. |
private float orientationWeight | How much face orientation wins over a random yaw (1 is fully aligned to the surface). |
private float raycastDistance | Length of the placement raycast. |
private LayerMask raycastMask | Layers the placement raycast hits. |
private int spawnPointIndex | Running index given to each accepted spawn point, reset to -1 at the start of Render. |
private Vector3 spawnPosition | Scratch position of the point being placed. |
private Quaternion spawnRotation | Scratch rotation of the point being placed. |
private int spawnSeed | Hashed seed for the current point. Computed but not passed on to the spawn point. |
private PopulationDefinition targetPopulation | Population definition whose hash the spawn points are registered under. |
private float yNormalMaximum | Highest allowed Y of the hit surface normal; points on flatter ground are rejected. |
private float yNormalMinimum | Lowest allowed Y of the hit surface normal; points on steeper ground are rejected. |