C# 클래스 EdgeGraph.Graph

상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: famerij/EdgeGraph 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
edges List
nodes List

공개 메소드들

메소드 설명
CleanUpEdges ( ) : void

Checks if there are any edges that have invalid nodes and removes them

ClearPrimitiveSubPrimitives ( int index = -1 ) : void
ExtractMainPrimitives ( float childEdgeWidth ) : void
GeneratePrimitiveSubEdges ( int seed, int index = -1 ) : void
GetEdge ( string id ) : Edge
GetEdgePosition ( string id, bool localSpace = false ) : Vector3
ProcessMinimalCycles ( ) : void
ProcessPrimitiveSubPrimitives ( int index = -1 ) : void
ProcessPrimitives ( int index = -1 ) : void
RemoveNode ( string id ) : void
this ( int index ) : Node
this ( string id ) : Node

비공개 메소드들

메소드 설명
ClearSubPrimitives ( Primitive p ) : void
GenerateSubEdges ( int seed, Primitive p ) : void
OnDrawGizmosSelected ( ) : void
ProcessSubPrimitives ( Primitive p ) : void
ResetPivot ( ) : void

메소드 상세

CleanUpEdges() 공개 메소드

Checks if there are any edges that have invalid nodes and removes them
public CleanUpEdges ( ) : void
리턴 void

ClearPrimitiveSubPrimitives() 공개 메소드

public ClearPrimitiveSubPrimitives ( int index = -1 ) : void
index int
리턴 void

ExtractMainPrimitives() 공개 메소드

public ExtractMainPrimitives ( float childEdgeWidth ) : void
childEdgeWidth float
리턴 void

GeneratePrimitiveSubEdges() 공개 메소드

public GeneratePrimitiveSubEdges ( int seed, int index = -1 ) : void
seed int
index int
리턴 void

GetEdge() 공개 메소드

public GetEdge ( string id ) : Edge
id string
리턴 Edge

GetEdgePosition() 공개 메소드

public GetEdgePosition ( string id, bool localSpace = false ) : Vector3
id string
localSpace bool
리턴 Vector3

ProcessMinimalCycles() 공개 메소드

public ProcessMinimalCycles ( ) : void
리턴 void

ProcessPrimitiveSubPrimitives() 공개 메소드

public ProcessPrimitiveSubPrimitives ( int index = -1 ) : void
index int
리턴 void

ProcessPrimitives() 공개 메소드

public ProcessPrimitives ( int index = -1 ) : void
index int
리턴 void

RemoveNode() 공개 메소드

public RemoveNode ( string id ) : void
id string
리턴 void

this() 공개 메소드

public this ( int index ) : Node
index int
리턴 Node

this() 공개 메소드

public this ( string id ) : Node
id string
리턴 Node

프로퍼티 상세

edges 공개적으로 프로퍼티

public List edges
리턴 List

nodes 공개적으로 프로퍼티

public List nodes
리턴 List