A class in Root.Township, the global namespace.
A point in a network of connected points that defines an area attribute, such as darkness or ambience, by weight.
Constructors
| Member | What it is |
|---|
SpacePoint() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
| Member | What it is |
|---|
static UpdateModule updateModule | Shared update module for space defined attributes, also used by forest atmosphere. |
2 private and internal fields
| Member | What it is |
|---|
private SpacePoint[] connectedTo | Neighbouring points this one links to. Backing field for ConnectedTo. |
private float setWeight | Weight value for this point. Backing field for SetWeight. |
Properties
| Member | What it is |
|---|
SpacePoint[] ConnectedTo { get; } | The neighbouring points. Drawn as lines in the editor. |
float SetWeight { get; } | The attribute value at this point. |
Methods
1 private and internal method
| Member | What it is |
|---|
private void OnDrawGizmosSelected() | Draws a line to each connected point. |
Used in
Members of other types that take, return or hold a SpacePoint: