C# Class AcTools.Render.Kn5Specific.Materials.Kn5MaterialsProvider

Inheritance: IDisposable
Mostrar archivo Open project: gro-ove/actools Class Usage Examples

Public Methods

Method Description
CreateAmbientShadowMaterial ( string filename ) : IRenderableMaterial
CreateMaterial ( string kn5Filename, [ kn5Material ) : IRenderableMaterial
CreateMirrorMaterial ( ) : IRenderableMaterial
CreateSkyMaterial ( ) : IRenderableMaterial
Dispose ( ) : void
DisposeFor ( Kn5 kn5 ) : void
GetAmbientShadowMaterial ( string filename ) : IRenderableMaterial
GetMaterial ( uint materialId ) : IRenderableMaterial
GetMirrorMaterial ( ) : IRenderableMaterial
GetSkyMaterial ( ) : IRenderableMaterial
SetKn5 ( Kn5 kn5 ) : void

Protected Methods

Method Description
GetOrCreate ( string key, Func create ) : IRenderableMaterial

Method Details

CreateAmbientShadowMaterial() public abstract method

public abstract CreateAmbientShadowMaterial ( string filename ) : IRenderableMaterial
filename string
return IRenderableMaterial

CreateMaterial() public abstract method

public abstract CreateMaterial ( string kn5Filename, [ kn5Material ) : IRenderableMaterial
kn5Filename string
kn5Material [
return IRenderableMaterial

CreateMirrorMaterial() public abstract method

public abstract CreateMirrorMaterial ( ) : IRenderableMaterial
return IRenderableMaterial

CreateSkyMaterial() public abstract method

public abstract CreateSkyMaterial ( ) : IRenderableMaterial
return IRenderableMaterial

Dispose() public method

public Dispose ( ) : void
return void

DisposeFor() public method

public DisposeFor ( Kn5 kn5 ) : void
kn5 AcTools.Kn5File.Kn5
return void

GetAmbientShadowMaterial() public method

public GetAmbientShadowMaterial ( string filename ) : IRenderableMaterial
filename string
return IRenderableMaterial

GetMaterial() public method

public GetMaterial ( uint materialId ) : IRenderableMaterial
materialId uint
return IRenderableMaterial

GetMirrorMaterial() public method

public GetMirrorMaterial ( ) : IRenderableMaterial
return IRenderableMaterial

GetOrCreate() protected method

protected GetOrCreate ( string key, Func create ) : IRenderableMaterial
key string
create Func
return IRenderableMaterial

GetSkyMaterial() public method

public GetSkyMaterial ( ) : IRenderableMaterial
return IRenderableMaterial

SetKn5() public method

public SetKn5 ( Kn5 kn5 ) : void
kn5 AcTools.Kn5File.Kn5
return void