Search Results for

    Show / Hide Table of Contents

    Class LineMesh

    Line primitive mesh. To render this mesh, use the LineMeshRenderer3D class.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    BaseModel
    MeshComponent
    LineMeshBase
    LineMesh
    Implements
    IDependencyObject
    Inherited Members
    LineMeshBase.graphicsContext
    LineMeshBase.linePoints
    LineMeshBase.lineType
    LineMeshBase.isLoop
    LineMeshBase.Model
    LineMeshBase.UseWorldSpace
    LineMeshBase.TexcoordOffset
    LineMeshBase.DiffuseTexture
    LineMeshBase.DiffuseSampler
    LineMeshBase.IsCameraAligned
    LineMeshBase.TextureTiling
    LineMeshBase.ModelMeshName
    LineMeshBase.BoundingBox
    LineMeshBase.OnAttached()
    LineMeshBase.OnActivated()
    LineMeshBase.OnDeactivated()
    LineMeshBase.OnDetach()
    LineMeshBase.OnDestroy()
    LineMeshBase.RefreshMeshes()
    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
    BaseModel.GetBoneByMeshIndex(int)
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.Start()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.RefreshPrefab(Prefab)
    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
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Components.Primitives
    Assembly: Evergine.Components.dll
    Syntax
    public class LineMesh : LineMeshBase, IDependencyObject

    Properties

    IsLoop

    Gets or sets a value indicating whether the first point of the list is appended to the last one.

    Declaration
    [RenderProperty(CustomPropertyName = "Is Loop", Tooltip = "Enable this to connect the first and last positions of the line. This forms a closed loop.")]
    public bool IsLoop { get; set; }
    Property Value
    Type Description
    bool

    LinePoints

    Gets or sets a list of points that define the line.

    Declaration
    public List<LinePointInfo> LinePoints { get; set; }
    Property Value
    Type Description
    List<LinePointInfo>

    LineType

    Gets or sets the type of line to draw.

    Declaration
    [RenderProperty(CustomPropertyName = "Line Type", Tooltip = "The type of the line to draw. Use LineStrip to compose the line connecting the dots. Use LineList to compose the line with isolated, straight line segments")]
    public LineType LineType { get; set; }
    Property Value
    Type Description
    LineType

    Methods

    CloneLastPoint(LinePointInfo)

    Updates the last point added with the previous point.

    Declaration
    public void CloneLastPoint(LinePointInfo point)
    Parameters
    Type Name Description
    LinePointInfo point

    The last point added to the list.

    Refresh()

    Refreshes the mesh when a value from the list has changed.

    Declaration
    public void Refresh()

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX