C# Class BasicModel, XNA

Afficher le fichier Open project: hatRiot/XNA Class Usage Examples

Méthodes publiques

Свойство Type Description
rot float
rotation Matrix

Protected Properties

Свойство Type Description
world Matrix
worldTranslation Matrix

Méthodes publiques

Méthode Description
BasicModel ( Model m ) : System
Draw ( Vector3 player, bool isGun ) : void
GetWorld ( ) : Matrix
Update ( Vector3 position ) : void

Private Methods

Méthode Description
LoadModelBS ( Model m ) : Model
TransformBoundingSphere ( BoundingSphere originalBoundingSphere, Matrix transformationMatrix ) : BoundingSphere

Method Details

BasicModel() public méthode

public BasicModel ( Model m ) : System
m Model
Résultat System

Draw() public méthode

public Draw ( Vector3 player, bool isGun ) : void
player Vector3
isGun bool
Résultat void

GetWorld() public méthode

public GetWorld ( ) : Matrix
Résultat Matrix

Update() public méthode

public Update ( Vector3 position ) : void
position Vector3
Résultat void

Property Details

rot public_oe property

public float rot
Résultat float

rotation public_oe property

public Matrix rotation
Résultat Matrix

world protected_oe property

protected Matrix world
Résultat Matrix

worldTranslation protected_oe property

protected Matrix worldTranslation
Résultat Matrix