C# 클래스 Pathfinding.RVO.Agent

상속: IAgent
파일 보기 프로젝트 열기: henryj41043/TheUnseen 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
locked bool
maxNeighbours int
position Vector3
radius float
simulator Simulator
watch1 System.Diagnostics.Stopwatch
watch2 System.Diagnostics.Stopwatch

공개 메소드들

메소드 설명
Agent ( Vector3 pos ) : UnityEngine
BufferSwitch ( ) : void
CalculateNeighbours ( ) : void
CalculateVelocity ( ) : void
InsertAgentNeighbour ( Agent agent, float rangeSq ) : float
InsertObstacleNeighbour ( ObstacleVertex ob1, float rangeSq ) : void
Interpolate ( float t ) : void
Teleport ( Vector3 pos ) : void
Update ( ) : void
det ( Vector2 a, Vector2 b ) : float
det ( Vector3 a, Vector3 b ) : float

비공개 메소드들

메소드 설명
DistSqPointLineSegment ( Vector2 a, Vector2 b, Vector2 c ) : float
DistSqPointLineSegment ( Vector3 a, Vector3 b, Vector3 c ) : float
LinearProgram1 ( List lines, int lineNo, float radius, Vector2 optVelocity, bool directionOpt, Vector2 &result ) : bool
LinearProgram2 ( List lines, float radius, Vector2 optVelocity, bool directionOpt, Vector2 &result ) : int
LinearProgram3 ( List lines, int numObstLines, int beginLine, float radius, Vector2 &result ) : void
Sqr ( float v ) : float

메소드 상세

Agent() 공개 메소드

public Agent ( Vector3 pos ) : UnityEngine
pos UnityEngine.Vector3
리턴 UnityEngine

BufferSwitch() 공개 메소드

public BufferSwitch ( ) : void
리턴 void

CalculateNeighbours() 공개 메소드

public CalculateNeighbours ( ) : void
리턴 void

CalculateVelocity() 공개 메소드

public CalculateVelocity ( ) : void
리턴 void

InsertAgentNeighbour() 공개 메소드

public InsertAgentNeighbour ( Agent agent, float rangeSq ) : float
agent Agent
rangeSq float
리턴 float

InsertObstacleNeighbour() 공개 메소드

public InsertObstacleNeighbour ( ObstacleVertex ob1, float rangeSq ) : void
ob1 ObstacleVertex
rangeSq float
리턴 void

Interpolate() 공개 메소드

public Interpolate ( float t ) : void
t float
리턴 void

Teleport() 공개 메소드

public Teleport ( Vector3 pos ) : void
pos UnityEngine.Vector3
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

det() 공개 메소드

public det ( Vector2 a, Vector2 b ) : float
a UnityEngine.Vector2
b UnityEngine.Vector2
리턴 float

det() 공개 메소드

public det ( Vector3 a, Vector3 b ) : float
a Vector3
b Vector3
리턴 float

프로퍼티 상세

locked 공개적으로 프로퍼티

public bool locked
리턴 bool

maxNeighbours 공개적으로 프로퍼티

public int maxNeighbours
리턴 int

position 공개적으로 프로퍼티

public Vector3 position
리턴 Vector3

radius 공개적으로 프로퍼티

public float radius
리턴 float

simulator 공개적으로 프로퍼티

public Simulator simulator
리턴 Simulator

watch1 공개적으로 정적으로 프로퍼티

public static System.Diagnostics.Stopwatch watch1
리턴 System.Diagnostics.Stopwatch

watch2 공개적으로 정적으로 프로퍼티

public static System.Diagnostics.Stopwatch watch2
리턴 System.Diagnostics.Stopwatch