Class LODEntry
Represent an element associated to a LOD level.
Inheritance
LODEntry
  Implements
Inherited Members
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public class LODEntry : Component, IDependencyObject
  Properties
BaseModels
Gets or sets the associated base model components.
Declaration
[BindComponent(false, false, BindComponentSource.Owner, null, true)]
public List<BaseModel> BaseModels { get; set; }
  Property Value
| Type | Description | 
|---|---|
| List<BaseModel> | 
DisableEntity
Gets or sets a value indicating whether the entity is disabled when this LOD entry is not visible.
Declaration
public bool DisableEntity { get; set; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
Drawables
Gets or sets the associated mesh renderer.
Declaration
[BindComponent(false, false, BindComponentSource.Owner, null, true)]
public List<Drawable> Drawables { get; set; }
  Property Value
| Type | Description | 
|---|---|
| List<Drawable> | 
LOD
Gets or sets the level of detail value.
Declaration
public int LOD { get; set; }
  Property Value
| Type | Description | 
|---|---|
| int | 
Methods
OnDetach()
Invoked when the object is detached.
Declaration
protected override void OnDetach()
  Overrides
RefreshLOD(bool)
Refresh this LOD entry.
Declaration
public void RefreshLOD(bool isEnabled)
  Parameters
| Type | Name | Description | 
|---|---|---|
| bool | isEnabled | if this LOD entry is enabled.  | 
      
Start()
Invoked to start the object.
Declaration
protected override void Start()