Search Results for

    Show / Hide Table of Contents

    Class LODGroup

    Setup the LOD levels of an entity.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    LODGroup
    Implements
    IDependencyObject
    Inherited Members
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.Start()
    Component.OnDetach()
    Component.OnDestroy()
    PrefabInstanceObject.PrefabSource
    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)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public class LODGroup : Component, IDependencyObject

    Properties

    CurrentLOD

    Gets the current LOD.

    Declaration
    public int CurrentLOD { get; }
    Property Value
    Type Description
    int

    CurrentScreenCoverage

    Gets the current screen coverage.

    Declaration
    public float CurrentScreenCoverage { get; }
    Property Value
    Type Description
    float

    LOD

    Gets or sets the list of LOD screen coverage.

    Declaration
    public List<float> LOD { get; set; }
    Property Value
    Type Description
    List<float>

    LODBias

    Gets or sets the LOD Bias. This is a factor applied to the screen coverage value. A value greater than 1 increase the LOD quality.

    Declaration
    public float LODBias { get; set; }
    Property Value
    Type Description
    float

    Methods

    MarkLODGroupDirty()

    Set this LOD group dirty, so the next render will be refreshed.

    Declaration
    public void MarkLODGroupDirty()

    OnActivated()

    Invoked when the object is activated once is attached.

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

    OnAttached()

    Invoked when the object is attached to the system.

    Declaration
    protected override bool OnAttached()
    Returns
    Type Description
    bool

    True if all is OK.

    Overrides
    Component.OnAttached()

    OnDeactivated()

    Invoked when the object is deactivated.

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

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX