C# 클래스 MeshRenderer.Core.ColorManager

파일 보기 프로젝트 열기: RegrowthStudios/VoxelRTS 1 사용 예제들

공개 메소드들

메소드 설명
Default ( ) : ColorManager

Gets a color scheme with black background.

GetRegionBrush ( int region ) : Brush

Get the color defined for given region.

LightScheme ( ) : ColorManager

Gets a color scheme with white background.

MakeRegionMap ( int partition, int size ) : void

Setup a region map.

메소드 상세

Default() 공개 정적인 메소드

Gets a color scheme with black background.
public static Default ( ) : ColorManager
리턴 ColorManager

GetRegionBrush() 공개 메소드

Get the color defined for given region.
public GetRegionBrush ( int region ) : Brush
region int
리턴 System.Drawing.Brush

LightScheme() 공개 정적인 메소드

Gets a color scheme with white background.
public static LightScheme ( ) : ColorManager
리턴 ColorManager

MakeRegionMap() 공개 메소드

Setup a region map.
public MakeRegionMap ( int partition, int size ) : void
partition int Mesh partition (size = number of triangles in mesh)
size int Number of partitions / regions.
리턴 void