Search Results for

    Show / Hide Table of Contents

    Class ModelLODBase

    Base class for mesh LOD objects. Contains a collection of the meshes.

    Inheritance
    System.Object
    Object
    ModelLODBase
    ModelLOD
    SkinnedModelLOD
    Inherited Members
    Object.__unmanagedPtr
    Object.__internalId
    Object.Finalize()
    Object.As<T>()
    Object.NewValue(Type)
    Object.New(String)
    Object.Find<T>(Guid, Boolean)
    Object.Find(Guid, Type, Boolean)
    Object.TryFind<T>(Guid)
    Object.TryFind(Guid, Type)
    Object.Destroy(Object, Single)
    Object.DestroyNow(Object)
    Object.Destroy<T>(T, Single)
    Object.Equals(Object)
    Object.GetUnmanagedPtr(Object)
    Object.GetUnmanagedInterface(Object, Type)
    Object.FromUnmanagedPtr(IntPtr)
    Object.MapObjectID(Guid)
    Object.RemapObjectID(Guid)
    Object.GetHashCode()
    Object.ID
    Object.TypeName
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public abstract class ModelLODBase : Object

    Constructors

    ModelLODBase()

    Initializes a new instance of the ModelLODBase.

    Declaration
    protected ModelLODBase()

    Properties

    Box

    Gets the bounding box combined for all meshes in this model LOD.

    Declaration
    [Unmanaged]
    public BoundingBox Box { get; }
    Property Value
    BoundingBox

    LODIndex

    Gets the model LOD index.

    Declaration
    [Unmanaged]
    public int LODIndex { get; }
    Property Value
    System.Int32

    ScreenSize

    The screen size to switch LODs. Bottom limit of the model screen size to render this LOD.

    Declaration
    [Unmanaged]
    public float ScreenSize { get; set; }
    Property Value
    System.Single

    Methods

    GetMesh(Int32)

    Gets the specific mesh in this LOD.

    Declaration
    [Unmanaged]
    public MeshBase GetMesh(int index)
    Parameters
    System.Int32 index

    Returns
    MeshBase

    GetMeshes(out MeshBase[])

    Gets the meshes in this LOD.

    Declaration
    [Unmanaged]
    public void GetMeshes(out MeshBase[] meshes)
    Parameters
    MeshBase[] meshes

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat