C# Class Reign.Video.Abstraction.Model

Inheritance: DisposableResource, ILoadable
Datei anzeigen Open project: reignstudios/ReignSDK Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Model ( IDisposableResource parent, SoftwareModel softwareModel, bool loadColors, bool loadUVs, bool loadNormals, string contentDirectory, Type>.Dictionary materialTypes, List value1BinderTypes, List value2BinderTypes, List value3BinderTypes, List value4BinderTypes, List textureBinderTypes, string>.Dictionary fileExtOverrides, int classicInstanceCount, Loader loadedCallback ) : Reign.Core
Model ( IDisposableResource parent, string filename, string contentDirectory, Type>.Dictionary materialTypes, List value1BinderTypes, List value2BinderTypes, List value3BinderTypes, List value4BinderTypes, List textureBinderTypes, string>.Dictionary fileExtOverrides, int classicInstanceCount, Loader loadedCallback ) : Reign.Core
Render ( ) : void
Save ( Stream stream, bool compress, SoftwareModel softwareModel, bool loadColors, bool loadUVs, bool loadNormals ) : void
Save ( string filename, bool compress, SoftwareModel softwareModel, bool loadColors, bool loadUVs, bool loadNormals ) : void
UpdateLoad ( ) : bool

Private Methods

Method Description
bindTypes ( MaterialI material, IDictionary values, List binders, string contentDirectory, string>.Dictionary fileExtOverrides, FoundBinderMethod handleFoundBinder ) : void
handleFoundTextureBinder ( MaterialI material, FieldInfo materialField, IDictionary values, MaterialFieldBinder binder, string contentDirectory, string>.Dictionary fileExtOverrides ) : void
handleFoundValueBinder ( MaterialI material, FieldInfo materialField, IDictionary values, MaterialFieldBinder binder, string contentDirectory, string>.Dictionary fileExtOverrides ) : void
init ( string filename, Stream stream, string contentDirectory, Type>.Dictionary materialTypes, List value1BinderTypes, List value2BinderTypes, List value3BinderTypes, List value4BinderTypes, List textureBinderTypes, string>.Dictionary fileExtOverrides, int classicInstanceCount, Loader loadedCallback ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Model() public method

public Model ( IDisposableResource parent, SoftwareModel softwareModel, bool loadColors, bool loadUVs, bool loadNormals, string contentDirectory, Type>.Dictionary materialTypes, List value1BinderTypes, List value2BinderTypes, List value3BinderTypes, List value4BinderTypes, List textureBinderTypes, string>.Dictionary fileExtOverrides, int classicInstanceCount, Loader loadedCallback ) : Reign.Core
parent IDisposableResource
softwareModel SoftwareModel
loadColors bool
loadUVs bool
loadNormals bool
contentDirectory string
materialTypes Type>.Dictionary
value1BinderTypes List
value2BinderTypes List
value3BinderTypes List
value4BinderTypes List
textureBinderTypes List
fileExtOverrides string>.Dictionary
classicInstanceCount int
loadedCallback Reign.Core.Loader
return Reign.Core

Model() public method

public Model ( IDisposableResource parent, string filename, string contentDirectory, Type>.Dictionary materialTypes, List value1BinderTypes, List value2BinderTypes, List value3BinderTypes, List value4BinderTypes, List textureBinderTypes, string>.Dictionary fileExtOverrides, int classicInstanceCount, Loader loadedCallback ) : Reign.Core
parent IDisposableResource
filename string
contentDirectory string
materialTypes Type>.Dictionary
value1BinderTypes List
value2BinderTypes List
value3BinderTypes List
value4BinderTypes List
textureBinderTypes List
fileExtOverrides string>.Dictionary
classicInstanceCount int
loadedCallback Reign.Core.Loader
return Reign.Core

Render() public method

public Render ( ) : void
return void

Save() public static method

public static Save ( Stream stream, bool compress, SoftwareModel softwareModel, bool loadColors, bool loadUVs, bool loadNormals ) : void
stream Stream
compress bool
softwareModel SoftwareModel
loadColors bool
loadUVs bool
loadNormals bool
return void

Save() public static method

public static Save ( string filename, bool compress, SoftwareModel softwareModel, bool loadColors, bool loadUVs, bool loadNormals ) : void
filename string
compress bool
softwareModel SoftwareModel
loadColors bool
loadUVs bool
loadNormals bool
return void

UpdateLoad() public method

public UpdateLoad ( ) : bool
return bool