Class BillboardMaterial
This class represent a billboard material decorator.
Inherited Members
Namespace: Evergine.Framework.Graphics.Materials
Assembly: Evergine.Framework.dll
Syntax
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 |