Search Results for

    Show / Hide Table of Contents

    Class Drawable2D

    Represents a 2D drawable Component.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    Drawable
    Drawable2D
    LineMeshRenderer2D
    SpriteRenderer
    Implements
    IDependencyObject
    Inherited Members
    Drawable.DrawableType
    Drawable.RenderManager
    Drawable.IsCullingEnabled
    Drawable.BoundingBox
    Drawable.DebugBoundingbox
    Drawable.OrderBias
    Drawable.Draw(DrawContext)
    Drawable.BaseDraw(DrawContext)
    Drawable.OnAttached()
    Drawable.OnDetach()
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnActivated()
    Component.Start()
    Component.OnDeactivated()
    Component.OnDestroy()
    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
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public abstract class Drawable2D : Drawable, IDependencyObject

    Constructors

    Drawable2D()

    Initializes a new instance of the Drawable2D class.

    Declaration
    public Drawable2D()

    Fields

    DebugAlpha

    The debug alpha value.

    Declaration
    protected const float DebugAlpha = 0.2
    Field Value
    Type Description
    float

    Delta

    The minimum alpha value.

    Declaration
    protected const float Delta = 0.001
    Field Value
    Type Description
    float

    Transform2D

    Required Transform2D. The associated transform 2D.

    Declaration
    [BindComponent(true, true, BindComponentSource.Owner, null, true)]
    public Transform2D Transform2D
    Field Value
    Type Description
    Transform2D

    Properties

    Layer

    Gets or sets the type of the layer.

    Declaration
    public virtual RenderLayerDescription Layer { get; set; }
    Property Value
    Type Description
    RenderLayerDescription

    The type of the layer.

    Methods

    DrawDebugLines()

    Helper method that draws debug lines.

    Declaration
    protected override void DrawDebugLines()
    Overrides
    Drawable.DrawDebugLines()
    Remarks

    This method will only work on debug mode and if RenderManager.DebugLines /> is set to true.

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX