C# Class WaveEngine.Components.Graphics3D.ModelRenderer

Renders a 3D model on the screen.
Inheritance: Drawable3D
Afficher le fichier Open project: WaveEngine/Components

Méthodes publiques

Méthode Description
Draw ( System.TimeSpan gameTime ) : void

Draws the model.

ModelRenderer ( ) : System

Initializes a new instance of the ModelRenderer class.

ModelRenderer ( string name ) : System

Initializes a new instance of the ModelRenderer class.

TryGetBoneWorldTransform ( string boneName, System.Matrix &transform ) : bool

Tries to get the world transform of a given bone.

Méthodes protégées

Méthode Description
DefaultValues ( ) : void

Sets the default values

DeleteDependencies ( ) : void

Deletes the dependencies.

Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Initialize ( ) : void

Initialize model renderer

ResolveDependencies ( ) : void

Resolves the dependencies.

Method Details

DefaultValues() protected méthode

Sets the default values
protected DefaultValues ( ) : void
Résultat void

DeleteDependencies() protected méthode

Deletes the dependencies.
protected DeleteDependencies ( ) : void
Résultat void

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

Draw() public méthode

Draws the model.
public Draw ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The elapsed game time.
Résultat void

Initialize() protected méthode

Initialize model renderer
protected Initialize ( ) : void
Résultat void

ModelRenderer() public méthode

Initializes a new instance of the ModelRenderer class.
public ModelRenderer ( ) : System
Résultat System

ModelRenderer() public méthode

Initializes a new instance of the ModelRenderer class.
public ModelRenderer ( string name ) : System
name string Name of this instance.
Résultat System

ResolveDependencies() protected méthode

Resolves the dependencies.
protected ResolveDependencies ( ) : void
Résultat void

TryGetBoneWorldTransform() public méthode

Tries to get the world transform of a given bone.
public TryGetBoneWorldTransform ( string boneName, System.Matrix &transform ) : bool
boneName string Name of the bone.
transform System.Matrix The transform of the bone.
Résultat bool