C# Class CNCMaps.Engine.Map.LightSource

Inheritance: StructureObject
Afficher le fichier Open project: zzattack/ccmaps-net Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
Initialize ( System.IniFile lamp, CNCMaps.FileFormats.Map.Lighting scenario ) : void

Method Details

ApplyLamp() public méthode

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
Résultat bool

LightSource() public méthode

public LightSource ( ) : System
Résultat System

LightSource() public méthode

public LightSource ( System.IniFile lamp, CNCMaps.FileFormats.Map.Lighting scenario ) : System
lamp System.IniFile
scenario CNCMaps.FileFormats.Map.Lighting
Résultat System