Click or drag to resize
BaseRenderableEntity Class
A basic renderable entity.
Inheritance Hierarchy
SystemObject
  GeonBit.Core.GraphicsBaseRenderableEntity
    More...

Namespace:  GeonBit.Core.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class BaseRenderableEntity : IEntity

The BaseRenderableEntity type exposes the following members.

Constructors
  NameDescription
Public methodBaseRenderableEntity
Initializes a new instance of the BaseRenderableEntity class
Top
Properties
  NameDescription
Public propertyCameraDistanceBias
Add bias to distance from camera when sorting by distance from camera. This is useful for particles, sprites etc.
Public propertyIsDebugEntity
If true, this entity will only show in debug / editor mode.
Public propertyVisible
Get / Set if this entity is visible.
Public propertyWireFrame
If true, will draw just the wireframe of the entity. Note: settings this property will change the rendering queue property.
Top
Methods
  NameDescription
Public methodDoEntityDraw
The per-entity drawing function, must be implemented by child entities.
Public methodDraw
Draw the entity.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetBoundingBox
Get the bounding box of this entity, either from cache or calculate it.
Public methodGetBoundingSphere
Get the bounding sphere of this entity, either from cache or calculate it.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLastBoundingBox
Return the last calculated bounding box. Note: this value may be out-of-date if transformations changed since last calculation.
Public methodGetLastBoundingSphere
Return the last calculated bounding sphere. Note: this value may be out-of-date if transformations changed since last calculation.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldBlendingState
Blending state for this entity.
Public fieldStatic memberOnDraw
Callback that triggers every time an entity is rendered. Note: entities that are culled out will not trigger this event.
Public fieldRenderingQueue
Which rendering queue to use for this entity. Rendering queues determine different rendering settings (like opacity support, blending, sorting etc) + the order in which the entities are drawn.
Top
See Also
Inheritance Hierarchy