PolygonOrigin Enumeration

Project Mercury API

[This is preliminary documentation and is subject to change.]

Enumerates the origin options for a polygon shape.

Namespace:  ProjectMercury.Emitters
Assembly:  ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0

Syntax

C#
public enum PolygonOrigin
Visual Basic (Declaration)
Public Enumeration PolygonOrigin
Visual C++
public enum class PolygonOrigin

Members

Member nameDescription
Default
No origin is specified, the translation vector will not be set.
Center
The translation vector will be set to move the origin into the centre of the shape.
Origin
The translation vector will be set to move the origin to the first point in this shape.

See Also