Class LineArcMeshBase
Arc primitive mesh component. To render this mesh use the LineMeshRenderer3D class.
Inheritance
LineArcMeshBase
Implements
Inherited Members
Namespace: Evergine.Components.Primitives
Assembly: Evergine.Components.dll
Syntax
public abstract class LineArcMeshBase : LineMeshBase, IDependencyObject
Constructors
LineArcMeshBase()
Initializes a new instance of the LineArcMeshBase class.
Declaration
public LineArcMeshBase()
Fields
angle
The angle.
Declaration
protected float angle
Field Value
Type | Description |
---|---|
float |
color
Tint color for the texture.
Declaration
protected Color color
Field Value
Type | Description |
---|---|
Color |
radius
The radius.
Declaration
protected Vector2 radius
Field Value
Type | Description |
---|---|
Vector2 |
tessellation
The tessellation.
Declaration
protected int tessellation
Field Value
Type | Description |
---|---|
int |
thickness
Thickness of the lines of the polygon.
Declaration
protected float thickness
Field Value
Type | Description |
---|---|
float |
Properties
Color
Gets or sets the color for the line, or tint color for the texture.
Declaration
[RenderProperty(CustomPropertyName = "Tint Color", Tooltip = "Color for the line, or tint color for the texture")]
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
Radius
Gets or sets the radius.
Declaration
[RenderProperty(Tooltip = "Polygon radius")]
public Vector2 Radius { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
Thickness
Gets or sets the line thickness.
Declaration
[RenderPropertyAsFInput(MinLimit = 0, Tooltip = "Line thickness")]
public float Thickness { get; set; }
Property Value
Type | Description |
---|---|
float |
Methods
RefreshMeshes()
Refresh meshes method.
Declaration
protected override void RefreshMeshes()