Class BillboardMaterial
This class represents a billboard material decorator.
Inherited Members
Namespace: Evergine.Framework.Graphics.Materials
Assembly: Evergine.Framework.dll
Syntax
[MaterialDecorator("dbb1f60a-82ad-40fc-8fbb-7b85caa6de0a")]
public class BillboardMaterial : MaterialDecorator
Constructors
BillboardMaterial(Effect)
Initializes a new instance of the BillboardMaterial class.
Declaration
public BillboardMaterial(Effect effect)
Parameters
Type | Name | Description |
---|---|---|
Effect | effect | The effect. |
Properties
PerCameraBuffer
Gets the per-camera constant buffer.
Declaration
public ConstantBuffer PerCameraBuffer { get; }
Property Value
Type | Description |
---|---|
ConstantBuffer |
Sampler
Gets or sets the billboard sampler.
Declaration
public SamplerState Sampler { get; set; }
Property Value
Type | Description |
---|---|
SamplerState |
Texture
Gets or sets the billboard texture.
Declaration
public Texture Texture { get; set; }
Property Value
Type | Description |
---|---|
Texture |