C# Class HelixToolkit.Wpf.BillboardGeometryBuilder

Builds a mesh geometry for a collection of billboards.
Inheritance: HelixToolkit.Wpf.ScreenGeometryBuilder
Afficher le fichier Open project: litdev1/LitDev Class Usage Examples

Méthodes publiques

Méthode Description
BillboardGeometryBuilder ( System.Windows.Media.Media3D.Visual3D visual ) : System.Collections.Generic

Initializes a new instance of the BillboardGeometryBuilder class.

CreateIndices ( int n ) : System.Windows.Media.Int32Collection

Creates the triangle indices.

GetPositions ( IList billboards ) : Point3DCollection

Gets the billboard positions with the current screen transform.

Method Details

BillboardGeometryBuilder() public méthode

Initializes a new instance of the BillboardGeometryBuilder class.
public BillboardGeometryBuilder ( System.Windows.Media.Media3D.Visual3D visual ) : System.Collections.Generic
visual System.Windows.Media.Media3D.Visual3D /// The visual. ///
Résultat System.Collections.Generic

CreateIndices() public static méthode

Creates the triangle indices.
public static CreateIndices ( int n ) : System.Windows.Media.Int32Collection
n int /// The number of points. ///
Résultat System.Windows.Media.Int32Collection

GetPositions() public méthode

Gets the billboard positions with the current screen transform.
public GetPositions ( IList billboards ) : Point3DCollection
billboards IList
Résultat System.Windows.Media.Media3D.Point3DCollection