C# Class HelixToolkit.Wpf.BillboardGeometryBuilder

Builds a mesh geometry for a collection of billboards.
Inheritance: HelixToolkit.Wpf.ScreenGeometryBuilder
显示文件 Open project: litdev1/LitDev Class Usage Examples

Public Methods

Method 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 method

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. ///
return System.Collections.Generic

CreateIndices() public static method

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

GetPositions() public method

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