C# Class TerrainDisplay.Collision.SelectedTriangleManager

Afficher le fichier Open project: WCell/WCell-Terrain Class Usage Examples

Méthodes publiques

Méthode Description
SelectedTriangleManager ( IADTManager adtManager ) : System
UpdateSelectedTriangle ( Ray selectRay, bool add ) : void

Private Methods

Méthode Description
AddSelectedTriangle ( System.Vector3 v0, System.Vector3 v1, System.Vector3 v2 ) : void

Method Details

SelectedTriangleManager() public méthode

public SelectedTriangleManager ( IADTManager adtManager ) : System
adtManager IADTManager
Résultat System

UpdateSelectedTriangle() public méthode

public UpdateSelectedTriangle ( Ray selectRay, bool add ) : void
selectRay Ray A ray in Xna Coords that was cast according to the viewport
add bool Whether to add the selected triangle to the selection
Résultat void