A quad mesh that always has a fixed orientation with respect to the camera
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Entities Entity
DeltaEngine.Entities DrawableEntity
DeltaEngine.Rendering3D Entity3D
DeltaEngine.Rendering3D Billboard
DeltaEngine.Rendering3D.Particles.Tests MockEnemy
Namespace: DeltaEngine.Rendering3D
Assembly: DeltaEngine.Rendering3D (in DeltaEngine.Rendering3D.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The Billboard type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Billboard | Initializes a new instance of the Billboard class |
Methods
Fields
Name | Description | |
---|---|---|
![]() | components | (Inherited from Entity.) |
![]() | lastOrientation | (Inherited from Entity3D.) |
![]() | lastPosition | (Inherited from Entity3D.) |
![]() | lastTickLerpComponents |
Each element can either be a Lerp, a Lerp List or an array of Lerp objects.
View code on GitHub (Inherited from DrawableEntity.) |
![]() | planeQuad |
Properties
Name | Description | |
---|---|---|
![]() | IsActive | (Inherited from DrawableEntity.) |
![]() | IsPauseable | (Inherited from Entity.) |
![]() | IsVisible | (Inherited from DrawableEntity.) |
![]() | NumberOfComponents | (Inherited from Entity.) |
![]() | Orientation | (Inherited from Entity3D.) |
![]() | Position | (Inherited from Entity3D.) |
![]() | RenderLayer | (Inherited from DrawableEntity.) |
![]() | Scale | (Inherited from Entity3D.) |
![]() | UpdatePriority | (Inherited from Entity.) |
Remarks
Examples
[Test, ApproveFirstFrameScreenshot] public void DrawBillboardCameraAligned() { new Billboard(Vector3D.Zero, new Size(1.0f, 1.0f), material); }
[Test, ApproveFirstFrameScreenshot] public void DrawColoredBillboardCameraAligned() { material.DefaultColor = Color.Yellow; new Billboard(Vector3D.Zero, Size.One, material); }
[Test, ApproveFirstFrameScreenshot] public void DrawBillboardUpAxisAligned() { new Billboard(Vector3D.Zero, Size.One, material, BillboardMode.CameraFacing | BillboardMode.UpAxis); }
See Also