C# 클래스 idTech4.Text.idMapFile

Reads or writes the contents of .map files into a standard internal format, which can then be moved into private formats for collision detection, map processing, or editor use. No validation (duplicate planes, null area brushes, etc) is performed. There are no limits to the number of any of the elements in maps. The order of entities, brushes, and sides is maintained.
상속: IDisposable
파일 보기 프로젝트 열기: iainmckay/idtech4.net 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
GetEntity ( int index ) : idMapEntity

Gets the entity at the specified index.

Parse ( string fileName, bool ignoreRegion = false, bool osPath = false ) : bool

Normally this will use a .reg file instead of a .map file if it exists, which is what the game and dmap want, but the editor will want to always load a .map file.

RemoveEntities ( string className ) : void
RemovePrimitiveData ( ) : void
idMapFile ( ) : System

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetEntity() 공개 메소드

Gets the entity at the specified index.
public GetEntity ( int index ) : idMapEntity
index int
리턴 idMapEntity

Parse() 공개 메소드

Normally this will use a .reg file instead of a .map file if it exists, which is what the game and dmap want, but the editor will want to always load a .map file.
public Parse ( string fileName, bool ignoreRegion = false, bool osPath = false ) : bool
fileName string Does not require an extension.
ignoreRegion bool
osPath bool
리턴 bool

RemoveEntities() 공개 메소드

public RemoveEntities ( string className ) : void
className string
리턴 void

RemovePrimitiveData() 공개 메소드

public RemovePrimitiveData ( ) : void
리턴 void

idMapFile() 공개 메소드

public idMapFile ( ) : System
리턴 System