![]() | ImageBillboard Class |
Namespace: DigitalRune.Graphics
The ImageBillboard type exposes the following members.
Name | Description | |
---|---|---|
![]() | ImageBillboard |
Initializes a new instance of the ImageBillboard class.
|
![]() | ImageBillboard(PackedTexture) |
Initializes a new instance of the ImageBillboard class.
|
Name | Description | |
---|---|---|
![]() | Clone |
Creates a new Billboard that is a clone (deep copy) of the current instance.
|
![]() | CloneCore |
Makes the instance a clone (deep copy) of the specified
Billboard.
(Overrides BillboardCloneCore(Billboard).) |
![]() | CreateInstanceCore |
When implemented in a derived class, creates a new instance of the Billboard
derived class.
(Overrides BillboardCreateInstanceCore.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | Alpha |
Gets or sets the opacity of the billboard.
(Inherited from Billboard.) |
![]() | AlphaTest |
Gets or sets a reference value for alpha testing.
|
![]() | AnimationTime |
Gets or sets the normalized animation time.
|
![]() | BlendMode |
Gets or sets the blend mode.
|
![]() | Color |
Gets or sets the tint color of the billboard.
(Inherited from Billboard.) |
![]() | Name |
Gets or sets the name of this billboard.
(Inherited from Billboard.) |
![]() | Orientation |
Gets or sets the orientation of the billboard.
(Inherited from Billboard.) |
![]() | Size |
Gets or sets the size of the billboard in world space.
|
![]() | Softness |
Gets or sets the softness - see remarks.
|
![]() | Texture |
Gets or sets the billboard texture (with premultiplied alpha).
|
DigitalRune Graphics supports two types of billboards:
A billboard can be positioned by adding a BillboardNode to a 3D scene. The billboard orientation can be set using the Orientation property. See class BillboardOrientation for more information.
Billboard Size: To resize an ImageBillboard change the Size property or change the ScaleLocal of the associated scene node. To resize a TextBillboard change the Font or change the ScaleLocal of the associated scene node. (The font size is measured directly in world space unit, i.e. a 12 pt font is 12 units in world space.)
Cloning:
Billboards are cloneable. Clone creates a copy of the current
sprite. The Texture of a ImageBillboard or the
Text of a TextBillboard is copied by reference (no
deep copy).