Search Results for

    Show / Hide Table of Contents

    Class LODEntry

    Represents an element associated with a LOD level.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    LODEntry
    Implements
    IDependencyObject
    Inherited Members
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnAttached()
    Component.OnActivated()
    Component.OnDeactivated()
    Component.OnDestroy()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.RefreshPrefab(Prefab)
    PrefabInstanceObject.PrefabElementId
    PrefabInstanceObject.IsPrefabInstance
    PrefabInstanceObject.IsMissingPrefabSource
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    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.

    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
    Component.OnDetach()

    RefreshLOD(bool)

    Refreshes this LOD entry.

    Declaration
    public void RefreshLOD(bool isEnabled)
    Parameters
    Type Name Description
    bool isEnabled

    Indicates whether this LOD entry is enabled.

    Start()

    Invoked to start the object.

    Declaration
    protected override void Start()
    Overrides
    Component.Start()

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX