C# 클래스 Assets.Scripts.Helpers.VoronoiHelper

파일 보기 프로젝트 열기: homoluden/fukami

공개 프로퍼티들

프로퍼티 타입 설명
CachedBorders BenTools.Data.HashSet>.Dictionary
HorBorderSitesCnt int
InternalSitesCountRange int[]
Resolution int
TilesLayer int
TilesSize UnityEngine.Vector2
TilesTag string
VertBorderSitesCnt int

공개 메소드들

메소드 설명
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[]

비공개 메소드들

메소드 설명
VoronoiHelper ( ) : System.Collections

메소드 상세

CreateCellObject() 공개 메소드

public CreateCellObject ( VoronoiCell cellData, int cellIndex, Transform parentTransform, Material meshMaterial ) : GameObject
cellData FortuneVoronoi.VoronoiCell
cellIndex int
parentTransform UnityEngine.Transform
meshMaterial UnityEngine.Material
리턴 UnityEngine.GameObject

CreateTileObject() 공개 메소드

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
리턴 UnityEngine.GameObject

GenerateTileCells() 공개 메소드

public GenerateTileCells ( int internalCellsCount ) : FortuneVoronoi.VoronoiCell[]
internalCellsCount int
리턴 FortuneVoronoi.VoronoiCell[]

프로퍼티 상세

CachedBorders 공개적으로 프로퍼티

public Dictionary> CachedBorders
리턴 BenTools.Data.HashSet>.Dictionary

HorBorderSitesCnt 공개적으로 프로퍼티

public int HorBorderSitesCnt
리턴 int

InternalSitesCountRange 공개적으로 프로퍼티

public int[] InternalSitesCountRange
리턴 int[]

Resolution 공개적으로 프로퍼티

public int Resolution
리턴 int

TilesLayer 공개적으로 프로퍼티

public int TilesLayer
리턴 int

TilesSize 공개적으로 프로퍼티

public Vector2,UnityEngine TilesSize
리턴 UnityEngine.Vector2

TilesTag 공개적으로 프로퍼티

public string TilesTag
리턴 string

VertBorderSitesCnt 공개적으로 프로퍼티

public int VertBorderSitesCnt
리턴 int