C# Class Assets.Scripts.Helpers.VoronoiHelper

Afficher le fichier Open project: homoluden/fukami

Méthodes publiques

Свойство Type Description
CachedBorders BenTools.Data.HashSet>.Dictionary
HorBorderSitesCnt int
InternalSitesCountRange int[]
Resolution int
TilesLayer int
TilesSize UnityEngine.Vector2
TilesTag string
VertBorderSitesCnt int

Méthodes publiques

Méthode Description
CreateCellObject ( VoronoiCell cellData, int cellIndex, Transform parentTransform, Material meshMaterial ) : GameObject
CreateTileObject ( IntPoint tilePosition, int tileSeed, Transform parentTransform, Vector2 offset, Material materials ) : GameObject
GenerateTileCells ( int internalCellsCount ) : FortuneVoronoi.VoronoiCell[]

Private Methods

Méthode Description
VoronoiHelper ( ) : System.Collections

Method Details

CreateCellObject() public méthode

public CreateCellObject ( VoronoiCell cellData, int cellIndex, Transform parentTransform, Material meshMaterial ) : GameObject
cellData FortuneVoronoi.VoronoiCell
cellIndex int
parentTransform UnityEngine.Transform
meshMaterial UnityEngine.Material
Résultat UnityEngine.GameObject

CreateTileObject() public méthode

public CreateTileObject ( IntPoint tilePosition, int tileSeed, Transform parentTransform, Vector2 offset, Material materials ) : GameObject
tilePosition FortuneVoronoi.Common.IntPoint
tileSeed int
parentTransform UnityEngine.Transform
offset UnityEngine.Vector2
materials UnityEngine.Material
Résultat UnityEngine.GameObject

GenerateTileCells() public méthode

public GenerateTileCells ( int internalCellsCount ) : FortuneVoronoi.VoronoiCell[]
internalCellsCount int
Résultat FortuneVoronoi.VoronoiCell[]

Property Details

CachedBorders public_oe property

public Dictionary> CachedBorders
Résultat BenTools.Data.HashSet>.Dictionary

HorBorderSitesCnt public_oe property

public int HorBorderSitesCnt
Résultat int

InternalSitesCountRange public_oe property

public int[] InternalSitesCountRange
Résultat int[]

Resolution public_oe property

public int Resolution
Résultat int

TilesLayer public_oe property

public int TilesLayer
Résultat int

TilesSize public_oe property

public Vector2,UnityEngine TilesSize
Résultat UnityEngine.Vector2

TilesTag public_oe property

public string TilesTag
Résultat string

VertBorderSitesCnt public_oe property

public int VertBorderSitesCnt
Résultat int