Class LineArcMeshBase
Arc primitive mesh component. To render this mesh use the LineMeshRenderer3D class.
Inheritance
DependencyObject
AttachableObject
PrefabInstanceObject
Component
BaseModel
MeshComponent
LineArcMeshBase
Implements
Inherited Members
MeshComponent.modelLink
MeshComponent.meshContainer
MeshComponent.ChangedMesh
MeshComponent.modelMeshName
MeshComponent.MeshCount
MeshComponent.MeshContainer
MeshComponent.MeshNames
MeshComponent.Meshes
MeshComponent.UnloadModel()
MeshComponent.ThrowRefreshEvent()
MeshComponent.RefreshMesh()
BaseModel.customBoundingBoxSet
BaseModel.Refreshed
BaseModel.BoundingBoxRefreshed
Component.Owner
Component.Managers
Component.ShouldBeActivated
Component.Clone()
Component.Attach(Entity)
Component.OnLoaded()
Component.Start()
PrefabInstanceObject.PrefabSource
PrefabInstanceObject.PrefabElementId
PrefabInstanceObject.IsPrefabInstance
PrefabInstanceObject.IsMissingPrefabSource
AttachableObject.AttachableStateChanged
AttachableObject.IsEnabled
AttachableObject.State
AttachableObject.IsLoaded
AttachableObject.IsAttached
AttachableObject.IsActivated
AttachableObject.IsStarted
AttachableObject.IsDestroyed
AttachableObject.Destroy()
AttachableObject.DependencyBroken()
DependencyObject.Dependencies
DependencyObject.OnDependencyRemoved
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()