A* Pathfinding Project  4.1.19
The A* Pathfinding Project for Unity 3D
ProceduralWorld.ProceduralPrefab Class Reference

Public Attributes

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

Member Data Documentation

◆ density

float density = 0

Number of objects per square world unit.

◆ perlin

float perlin = 0

Multiply by [perlin noise].

Value from 0 to 1 indicating weight.

◆ perlinOffset

Vector2 perlinOffset = Vector2.zero

Some offset to avoid identical density maps.

◆ perlinPower

float perlinPower = 1

Perlin will be raised to this power.

A higher value gives more distinct edges

◆ perlinScale

float perlinScale = 1

Perlin noise scale.

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

◆ prefab

GameObject prefab

Prefab to use.

◆ random

float random = 1

Multiply by [random].

Value from 0 to 1 indicating weight.

◆ singleFixed

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: