Table of Contents

Class BillboardGeometryBuilder

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

Builds a mesh geometry for a collection of billboards.

public sealed class BillboardGeometryBuilder : ScreenGeometryBuilder
Inheritance
BillboardGeometryBuilder
Inherited Members

Constructors

BillboardGeometryBuilder(Visual3D)

Initializes a new instance of the BillboardGeometryBuilder class.

public BillboardGeometryBuilder(Visual3D visual)

Parameters

visual Visual3D

The visual.

Methods

CreateIndices(int)

Creates the triangle indices.

public static Int32Collection CreateIndices(int n)

Parameters

n int

The number of points.

Returns

Int32Collection

The triangle indices.

GetPinPositions(IList<Billboard>, Vector, double)

Gets the billboard positions with the current screen transform.

public Point3DCollection GetPinPositions(IList<Billboard> billboards, Vector offset, double pinWidth)

Parameters

billboards IList<Billboard>

The billboards.

offset Vector

The offset.

pinWidth double

Width of the pins.

Returns

Point3DCollection

The mesh vertices.

GetPositions(IList<Billboard>, Vector)

Gets the billboard positions with the current screen transform.

public Point3DCollection GetPositions(IList<Billboard> billboards, Vector offset)

Parameters

billboards IList<Billboard>

The billboards.

offset Vector

The offset.

Returns

Point3DCollection

The positions.