Свойство | Тип | Описание | |
---|---|---|---|
AlignmentNeighborhoodRadius | float | ||
AlignmentWeight | float | ||
AvoidWallWeight | float | ||
BoidsCS | ComputeShader | ||
CohesionNeighborhoodRadius | float | ||
CohesionWeight | float | ||
MaxSpeed | float | ||
MaxSteerForce | float | ||
SeparateNeighborhoodRadius | float | ||
SeparateWeight | float | ||
WallSize | Vector3 |
Метод | Описание | |
---|---|---|
GetBoidDataBuffer ( ) : ComputeBuffer | ||
GetMaxObjectNum ( ) : int | ||
GetSimulationAreaCenter ( ) : Vector3 | ||
GetSimulationAreaSize ( ) : Vector3 |
Метод | Описание | |
---|---|---|
InitBuffer ( ) : void | ||
OnDestroy ( ) : void | ||
OnDrawGizmos ( ) : void | ||
ReleaseBuffer ( ) : void | ||
Simulation ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
public GetBoidDataBuffer ( ) : ComputeBuffer | ||
Результат | ComputeBuffer |
public GetSimulationAreaCenter ( ) : Vector3 | ||
Результат | Vector3 |
public GetSimulationAreaSize ( ) : Vector3 | ||
Результат | Vector3 |
public float AlignmentNeighborhoodRadius | ||
Результат | float |
public float CohesionNeighborhoodRadius | ||
Результат | float |
public float SeparateNeighborhoodRadius | ||
Результат | float |