C# 클래스 Pathfinding.RVO.Sampled.Agent

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

공개 프로퍼티들

프로퍼티 타입 설명
DesiredVelocityScale float
DesiredVelocityWeight float
GlobalIncompressibility float
locked bool
maxNeighbours int
neighbourDists List
neighbours List
position UnityEngine.Vector3
radius float
simulator Pathfinding.RVO.Simulator
watch1 System.Diagnostics.Stopwatch
watch2 System.Diagnostics.Stopwatch

공개 메소드들

메소드 설명
Agent ( Vector3 pos ) : UnityEngine
BufferSwitch ( ) : void
CalculateNeighbours ( ) : void
InsertAgentNeighbour ( Agent agent, float rangeSq ) : float
InsertObstacleNeighbour ( ObstacleVertex ob1, float rangeSq ) : void
Interpolate ( float t ) : void
IntersectionFactor ( Vector2 start1, Vector2 dir1, Vector2 start2, Vector2 dir2, float &factor ) : bool
SetYPosition ( float yCoordinate ) : void
Teleport ( Vector3 pos ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
CalculateVelocity ( Pathfinding context ) : void
DrawCircle ( Vector2 _p, float radius, Color col ) : void
DrawCircle ( Vector2 _p, float radius, float a0, float a1, Color col ) : void
DrawCross ( Vector2 p, Color col, float size = 1 ) : void
DrawCross ( Vector2 p, float size = 1 ) : void
DrawVO ( Vector2 circleCenter, float radius, Vector2 origin ) : void
Rainbow ( float v ) : Color
Sqr ( float x ) : float
To3D ( Vector2 p ) : Vector3
Trace ( VO vos, int voCount, Vector2 p, float cutoff, float &score ) : Vector2

메소드 상세

Agent() 공개 메소드

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

BufferSwitch() 공개 메소드

public BufferSwitch ( ) : void
리턴 void

CalculateNeighbours() 공개 메소드

public CalculateNeighbours ( ) : void
리턴 void

InsertAgentNeighbour() 공개 메소드

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

InsertObstacleNeighbour() 공개 메소드

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

Interpolate() 공개 메소드

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

IntersectionFactor() 공개 정적인 메소드

public static IntersectionFactor ( Vector2 start1, Vector2 dir1, Vector2 start2, Vector2 dir2, float &factor ) : bool
start1 UnityEngine.Vector2
dir1 UnityEngine.Vector2
start2 UnityEngine.Vector2
dir2 UnityEngine.Vector2
factor float
리턴 bool

SetYPosition() 공개 메소드

public SetYPosition ( float yCoordinate ) : void
yCoordinate float
리턴 void

Teleport() 공개 메소드

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

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

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

public static float DesiredVelocityScale
리턴 float

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

public static float DesiredVelocityWeight
리턴 float

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

public static float GlobalIncompressibility
리턴 float

locked 공개적으로 프로퍼티

public bool locked
리턴 bool

maxNeighbours 공개적으로 프로퍼티

public int maxNeighbours
리턴 int

neighbourDists 공개적으로 프로퍼티

public List neighbourDists
리턴 List

neighbours 공개적으로 프로퍼티

public List neighbours
리턴 List

position 공개적으로 프로퍼티

public Vector3,UnityEngine position
리턴 UnityEngine.Vector3

radius 공개적으로 프로퍼티

public float radius
리턴 float

simulator 공개적으로 프로퍼티

public Simulator,Pathfinding.RVO simulator
리턴 Pathfinding.RVO.Simulator

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

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

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

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