Struct PointOfInterestPad
A flattened pad under a site: the ground eased to Height inside its outline (or radius), or to its terraces' levels (PointOfInterestTerraces).
[Serializable]
public struct PointOfInterestPad
- Inherited Members
Fields
Blend
How far past the radius the pad eases back into the ground, metres.
public float Blend
Field Value
Centre
public Vector3 Centre
Field Value
- Vector3
Id
public int Id
Field Value
Outline
public float[] Outline
Field Value
- float[]
Radius
The bounding radius: no point of Outline reaches farther.
public float Radius
Field Value
RampHalfWidth
Half a ramp's width, metres.
public float RampHalfWidth
Field Value
Shore
A river-bank site's way to the water (x, z; unit), or zero for a pad levelled all round: past ShoreDistance along it the ground is left as it is, so a mill's yard is levelled and its river not.
public Vector2 Shore
Field Value
- Vector2
ShoreDistance
How far toward Shore from the centre the levelling reaches before it has handed back to the ground, metres.
public float ShoreDistance
Field Value
TerraceAxis
Up the hill, unit (x east, y north), for a terraced pad; zero for one level.
public Vector2 TerraceAxis
Field Value
- Vector2
TerraceLevels
Each terrace's height, lowest first: one more than TerraceSteps.
public float[] TerraceLevels
Field Value
- float[]
TerraceRamps
Where each step's ramp climbs it, metres across the axis (Across(Vector2)).
public float[] TerraceRamps
Field Value
- float[]
TerraceSteps
Where the levels change, metres along TerraceAxis from the centre, rising; empty for one level.
public float[] TerraceSteps
Field Value
- float[]
Properties
Height
public float Height { get; }
Property Value
Methods
Contains(float, float)
Whether a scene position (x, z) lies on the pad: inside its outline.
public bool Contains(float x, float z)