C# 클래스 VoxelGrid, probe

상속: MonoBehaviour
파일 보기 프로젝트 열기: AVUIs/probe 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
resolution int
voxelPrefab GameObject
xNeighbor VoxelGrid,

공개 메소드들

메소드 설명
Apply ( VoxelStencil, stencil ) : void
Initialize ( int resolution, float size ) : void

비공개 메소드들

메소드 설명
AddPentagon ( Vector3 a, Vector3 b, Vector3 c, Vector3 d, Vector3 e ) : void
AddQuad ( Vector3 a, Vector3 b, Vector3 c, Vector3 d ) : void
AddTriangle ( Vector3 a, Vector3 b, Vector3 c ) : void
CreateVoxel ( int i, int x, int y ) : void
Refresh ( ) : void
SetVoxelColors ( ) : void
Triangulate ( ) : void
TriangulateCell ( Voxel, a, Voxel, b, Voxel, c, Voxel, d ) : void
TriangulateCellRows ( ) : void
TriangulateGapCell ( int i ) : void
TriangulateGapRow ( ) : void

메소드 상세

Apply() 공개 메소드

public Apply ( VoxelStencil, stencil ) : void
stencil VoxelStencil,
리턴 void

Initialize() 공개 메소드

public Initialize ( int resolution, float size ) : void
resolution int
size float
리턴 void

프로퍼티 상세

resolution 공개적으로 프로퍼티

public int resolution
리턴 int

voxelPrefab 공개적으로 프로퍼티

public GameObject voxelPrefab
리턴 GameObject

xNeighbor 공개적으로 프로퍼티

public VoxelGrid, xNeighbor
리턴 VoxelGrid,