C# Class Reign.Video.Abstraction.Model

Inheritance: DisposableResource, ILoadable
Afficher le fichier Open project: reignstudios/ReignSDK Class Usage Examples

Méthodes publiques

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

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

public Dispose ( ) : void
Résultat void

Model() public méthode

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
Résultat Reign.Core

Model() public méthode

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
Résultat Reign.Core

Render() public méthode

public Render ( ) : void
Résultat void

Save() public static méthode

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

Save() public static méthode

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

UpdateLoad() public méthode

public UpdateLoad ( ) : bool
Résultat bool