Search Results for

    Show / Hide Table of Contents

    Class BillboardInfo

    Class that holds the billboard information to be rendered.

    Inheritance
    object
    DisposableObject
    RenderObjectInfo
    BillboardInfo
    Inherited Members
    RenderObjectInfo.boundingBox
    RenderObjectInfo.CullingType
    RenderObjectInfo.Drawable
    RenderObjectInfo.isBoundingBoxDirty
    RenderObjectInfo.isSortKeyDirty
    RenderObjectInfo.IsEnabled
    RenderObjectInfo.Tag
    RenderObjectInfo.RenderFlags
    RenderObjectInfo.IsCullingEnabled
    RenderObjectInfo.FlipWinding
    RenderObjectInfo.IsSortKeyDirty
    RenderObjectInfo.IsActive
    RenderObjectInfo.SortKey
    RenderObjectInfo.Transform
    RenderObjectInfo.PreTransform
    RenderObjectInfo.BoundingBox
    RenderObjectInfo.MakeDirty()
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public class BillboardInfo : RenderObjectInfo

    Constructors

    BillboardInfo()

    Initializes a new instance of the BillboardInfo class.

    Declaration
    public BillboardInfo()

    Fields

    BillboardOrderBias

    The sprite order bias.

    Declaration
    public int BillboardOrderBias
    Field Value
    Type Description
    int

    BillboardType

    The type of billboard.

    Declaration
    public BillboardType BillboardType
    Field Value
    Type Description
    BillboardType

    FlipMode

    The flip mode.

    Declaration
    public FlipMode FlipMode
    Field Value
    Type Description
    FlipMode

    Origin

    The origin of the sprite.

    Declaration
    public Vector2 Origin
    Field Value
    Type Description
    Vector2

    RenderLayer

    The rendering layer.

    Declaration
    public RenderLayerDescription RenderLayer
    Field Value
    Type Description
    RenderLayerDescription

    Rotation

    The rotation angle of the billboard.

    Declaration
    public float Rotation
    Field Value
    Type Description
    float

    Sampler

    Gets the texture sampler.

    Declaration
    public SamplerState Sampler
    Field Value
    Type Description
    SamplerState

    Texture

    The billboard texture.

    Declaration
    public Texture Texture
    Field Value
    Type Description
    Texture

    TintColor

    The tint color.

    Declaration
    public Color TintColor
    Field Value
    Type Description
    Color

    Properties

    InputLayoutID

    Gets the Input Layout ID.

    Declaration
    public override uint InputLayoutID { get; }
    Property Value
    Type Description
    uint
    Overrides
    RenderObjectInfo.InputLayoutID

    InputLayouts

    Gets the input layout.

    Declaration
    public override InputLayouts InputLayouts { get; }
    Property Value
    Type Description
    InputLayouts
    Overrides
    RenderObjectInfo.InputLayouts

    IsReady

    Gets a value indicating whether this instance is ready to render.

    Declaration
    public override bool IsReady { get; }
    Property Value
    Type Description
    bool
    Overrides
    RenderObjectInfo.IsReady

    Material

    Gets the material.

    Declaration
    public override Material Material { get; }
    Property Value
    Type Description
    Material
    Overrides
    RenderObjectInfo.Material

    MaterialID

    Gets the material ID.

    Declaration
    public override uint MaterialID { get; }
    Property Value
    Type Description
    uint
    Overrides
    RenderObjectInfo.MaterialID

    OrderBias

    Gets the order bias.

    Declaration
    public override int OrderBias { get; }
    Property Value
    Type Description
    int
    Overrides
    RenderObjectInfo.OrderBias

    PrimitiveTopology

    Gets the primitive topology.

    Declaration
    public override PrimitiveTopology PrimitiveTopology { get; }
    Property Value
    Type Description
    PrimitiveTopology
    Overrides
    RenderObjectInfo.PrimitiveTopology

    RenderStateOrder

    Gets the order of the render state.

    Declaration
    public override int RenderStateOrder { get; }
    Property Value
    Type Description
    int
    Overrides
    RenderObjectInfo.RenderStateOrder

    SortMode

    Gets the sorting mode.

    Declaration
    public override SortMode SortMode { get; }
    Property Value
    Type Description
    SortMode
    Overrides
    RenderObjectInfo.SortMode

    Methods

    Collect(DrawContext)

    Prepares this object with the specified draw context.

    Declaration
    public override void Collect(DrawContext drawContext)
    Parameters
    Type Name Description
    DrawContext drawContext

    The draw context.

    Overrides
    RenderObjectInfo.Collect(DrawContext)

    Destroy()

    Destroys all resources of this instance.

    Declaration
    protected override void Destroy()
    Overrides
    DisposableObject.Destroy()

    RefreshBoundingBox()

    Refreshes the bounding box.

    Declaration
    protected override void RefreshBoundingBox()
    Overrides
    RenderObjectInfo.RefreshBoundingBox()

    Extension Methods

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