Class BillboardInfo
Class that holds the billboard information to be rendered.
Inherited Members
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
InputLayouts
Gets the input layout.
Declaration
public override InputLayouts InputLayouts { get; }
Property Value
Type | Description |
---|---|
InputLayouts |
Overrides
IsReady
Gets a value indicating whether this instance is ready to render.
Declaration
public override bool IsReady { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
Material
Gets the material.
Declaration
public override Material Material { get; }
Property Value
Type | Description |
---|---|
Material |
Overrides
MaterialID
Gets the material ID.
Declaration
public override uint MaterialID { get; }
Property Value
Type | Description |
---|---|
uint |
Overrides
OrderBias
Gets the order bias.
Declaration
public override int OrderBias { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
PrimitiveTopology
Gets the primitive topology.
Declaration
public override PrimitiveTopology PrimitiveTopology { get; }
Property Value
Type | Description |
---|---|
PrimitiveTopology |
Overrides
RenderStateOrder
Gets the order of the render state.
Declaration
public override int RenderStateOrder { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
SortMode
Gets the sorting mode.
Declaration
public override SortMode SortMode { get; }
Property Value
Type | Description |
---|---|
SortMode |
Overrides
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
Destroy()
Destroys all resources of this instance.
Declaration
protected override void Destroy()
Overrides
RefreshBoundingBox()
Refreshes the bounding box.
Declaration
protected override void RefreshBoundingBox()