C# 클래스 CNCMaps.Engine.Map.LightSource

상속: StructureObject
파일 보기 프로젝트 열기: zzattack/ccmaps-net 1 사용 예제들

공개 메소드들

메소드 설명
ApplyLamp ( GameObject obj, bool ambientOnly = false ) : bool

Applies a lamp to this object's palette if it's in range

LightSource ( ) : System
LightSource ( System.IniFile lamp, CNCMaps.FileFormats.Map.Lighting scenario ) : System

비공개 메소드들

메소드 설명
Initialize ( System.IniFile lamp, CNCMaps.FileFormats.Map.Lighting scenario ) : void

메소드 상세

ApplyLamp() 공개 메소드

Applies a lamp to this object's palette if it's in range
public ApplyLamp ( GameObject obj, bool ambientOnly = false ) : bool
obj GameObject
ambientOnly bool
리턴 bool

LightSource() 공개 메소드

public LightSource ( ) : System
리턴 System

LightSource() 공개 메소드

public LightSource ( System.IniFile lamp, CNCMaps.FileFormats.Map.Lighting scenario ) : System
lamp System.IniFile
scenario CNCMaps.FileFormats.Map.Lighting
리턴 System