Search Results for

    Show / Hide Table of Contents

    Class LineRectangleMesh

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

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    BaseModel
    MeshComponent
    LineMeshBase
    LineRectangleMesh
    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()
    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 LineRectangleMesh : LineMeshBase, IDependencyObject

    Constructors

    LineRectangleMesh()

    Initializes a new instance of the LineRectangleMesh class.

    Declaration
    public LineRectangleMesh()

    Properties

    Color

    Gets or sets the color of the line or tint color of the texture.

    Declaration
    [RenderProperty(Tooltip = "Color for the line, or tint color for the texture")]
    public Color Color { get; set; }
    Property Value
    Type Description
    Color

    Height

    Gets or sets the height of the rectangle to be drawn.

    Declaration
    [RenderProperty(Tooltip = "Rectangle height")]
    public float Height { get; set; }
    Property Value
    Type Description
    float

    Origin

    Gets or sets the origin (also known as pivot) from where the rectangle scales, rotates, and translates. Its values are within [0, 1] where (0, 0) indicates the top left corner. These values are percentages where 1 means 100% of the rectangle's width/height.

    Declaration
    [RenderProperty(Tooltip = "The origin (also known as pivot) from where the rectangle scales, rotates and translates. Its values are included in [0, 1] where (0, 0) indicates the top left corner. Such values are percentages where 1 means the 100% of the rectangle's width/height.")]
    public Vector2 Origin { get; set; }
    Property Value
    Type Description
    Vector2

    Thickness

    Gets or sets the thickness of the rectangle's line to be drawn.

    Declaration
    [RenderPropertyAsFInput(MinLimit = 0, Tooltip = "Thickness of the rectangle's line")]
    public float Thickness { get; set; }
    Property Value
    Type Description
    float

    Width

    Gets or sets the width of the rectangle to draw.

    Declaration
    [RenderProperty(Tooltip = "Rectangle width")]
    public float Width { get; set; }
    Property Value
    Type Description
    float

    Methods

    RefreshMeshes()

    Refreshes meshes.

    Declaration
    protected override void RefreshMeshes()
    Overrides
    LineMeshBase.RefreshMeshes()

    Implements

    IDependencyObject

    Extension Methods

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