A* Pathfinding Project  3.6
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
ProceduralWorld.ProceduralPrefab Class Reference

Public Attributes

float density = 0
 Number of objects per square world unit.
 
float perlin = 0
 Multiply by [perlin noise].
 
Vector2 perlinOffset = Vector2.zero
 Some offset to avoid identical density maps.
 
float perlinPower = 1
 Perlin will be raised to this power.
 
float perlinScale = 1
 Perlin noise scale.
 
GameObject prefab
 Prefab to use.
 
float random = 1
 Multiply by [random].
 
bool singleFixed = false
 If checked, a single object will be created in the center of each tile.
 

Member Data Documentation

float density = 0

Number of objects per square world unit.

float perlin = 0

Multiply by [perlin noise].

Value from 0 to 1 indicating weight.

Vector2 perlinOffset = Vector2.zero

Some offset to avoid identical density maps.

float perlinPower = 1

Perlin will be raised to this power.

A higher value gives more distinct edges

float perlinScale = 1

Perlin noise scale.

A higher value spreads out the maximums and minimums of the density.

GameObject prefab

Prefab to use.

float random = 1

Multiply by [random].

Value from 0 to 1 indicating weight.

bool singleFixed = false

If checked, a single object will be created in the center of each tile.


The documentation for this class was generated from the following file: