C# Class ColladaXna.Base.Import.LightImporter

Inheritance: IColladaImporter
Show file Open project: Bunkerbewohner/ColladaXna Class Usage Examples

Public Methods

Method Description
Import ( XmlNode xmlRoot, ColladaModel model ) : void

Private Methods

Method Description
CanImport ( XmlNode xmlLightInstance ) : bool

Determines whether the light can be imported (i.e. supported). Currently supported light types are: - directional - ambient

GetLightFromInstance ( XmlNode xmlInstanceLight ) : XmlNode

When given an instance_light XML node this method returns the referenced light XML node from the light library.

ImportLight ( XmlNode xmlInstanceLight ) : Light

Imports a light referenced by a light instance. Inputs are assumed to be supported (CanImport must return true for them).

Method Details

Import() public method

public Import ( XmlNode xmlRoot, ColladaModel model ) : void
xmlRoot System.Xml.XmlNode
model ColladaModel
return void