C# 클래스 BoidsSimulationOnGPU.GPUBoids

상속: MonoBehaviour
파일 보기 프로젝트 열기: kodai100/Unity_BoidsSimulationOnURP

공개 프로퍼티들

프로퍼티 타입 설명
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

메소드 상세

GetBoidDataBuffer() 공개 메소드

public GetBoidDataBuffer ( ) : ComputeBuffer
리턴 ComputeBuffer

GetMaxObjectNum() 공개 메소드

public GetMaxObjectNum ( ) : int
리턴 int

GetSimulationAreaCenter() 공개 메소드

public GetSimulationAreaCenter ( ) : Vector3
리턴 Vector3

GetSimulationAreaSize() 공개 메소드

public GetSimulationAreaSize ( ) : Vector3
리턴 Vector3

프로퍼티 상세

AlignmentNeighborhoodRadius 공개적으로 프로퍼티

public float AlignmentNeighborhoodRadius
리턴 float

AlignmentWeight 공개적으로 프로퍼티

public float AlignmentWeight
리턴 float

AvoidWallWeight 공개적으로 프로퍼티

public float AvoidWallWeight
리턴 float

BoidsCS 공개적으로 프로퍼티

public ComputeShader BoidsCS
리턴 ComputeShader

CohesionNeighborhoodRadius 공개적으로 프로퍼티

public float CohesionNeighborhoodRadius
리턴 float

CohesionWeight 공개적으로 프로퍼티

public float CohesionWeight
리턴 float

MaxSpeed 공개적으로 프로퍼티

public float MaxSpeed
리턴 float

MaxSteerForce 공개적으로 프로퍼티

public float MaxSteerForce
리턴 float

SeparateNeighborhoodRadius 공개적으로 프로퍼티

public float SeparateNeighborhoodRadius
리턴 float

SeparateWeight 공개적으로 프로퍼티

public float SeparateWeight
리턴 float

WallSize 공개적으로 프로퍼티

public Vector3 WallSize
리턴 Vector3