C# 클래스 EdgeGraph.EdgeBuilder

파일 보기 프로젝트 열기: famerij/EdgeGraph

공개 프로퍼티들

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

공개 메소드들

메소드 설명
EdgeBuilder ( Node _root, List _targets, float _edgeWidth, float _segment, float _minAngle, float _minDistance, float _maxDistance, Action onFinished ) : UnityEngine

비공개 메소드들

메소드 설명
Advance ( Node &_node, Vector3 _dir ) : bool

Advances forward by segmentLength from current node

AdvanceUntilClosest ( Node &currentNode, Target closest, float toClosest ) : void
BuildEdges ( ) : void
BuildEdgesRecursive ( int limit ) : void
ColonizeSpace ( ) : void
ColonizeSpaceRecursive ( int limit ) : void
GetClosestNodeToTarget ( Target target ) : Node
GetClosestNonVisitedTarget ( Node node, float &toClosest, bool checkMaxDistance = true ) : Target

Get closest non visited target

StartBuild ( Action onFinished ) : void

메소드 상세

EdgeBuilder() 공개 메소드

public EdgeBuilder ( Node _root, List _targets, float _edgeWidth, float _segment, float _minAngle, float _minDistance, float _maxDistance, Action onFinished ) : UnityEngine
_root Node
_targets List
_edgeWidth float
_segment float
_minAngle float
_minDistance float
_maxDistance float
onFinished Action
리턴 UnityEngine

프로퍼티 상세

edges 공개적으로 프로퍼티

public List edges
리턴 List

nodes 공개적으로 프로퍼티

public List nodes
리턴 List