Search Results for

    Show / Hide Table of Contents

    Class BaseModel

    Base class for 3D models.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    BaseModel
    MeshComponent
    Implements
    IDependencyObject
    Inherited Members
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnAttached()
    Component.OnActivated()
    Component.Start()
    Component.OnDeactivated()
    Component.OnDetach()
    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 abstract class BaseModel : Component, IDependencyObject

    Fields

    customBoundingBoxSet

    A custom boundingBox is set.

    Declaration
    protected bool customBoundingBoxSet
    Field Value
    Type Description
    bool

    Properties

    BoundingBox

    Gets or sets the bounding box.

    Declaration
    public virtual BoundingBox? BoundingBox { get; set; }
    Property Value
    Type Description
    BoundingBox?

    BoundingBoxRefreshed

    Gets or sets a value indicating whether the bounding box is refreshed.

    Declaration
    public bool BoundingBoxRefreshed { get; set; }
    Property Value
    Type Description
    bool

    true if the bounding box is refreshed; otherwise, false.

    MeshCount

    Gets the mesh count.

    Declaration
    public abstract int MeshCount { get; }
    Property Value
    Type Description
    int

    Meshes

    Gets the list of meshes.

    Declaration
    public abstract List<Mesh> Meshes { get; }
    Property Value
    Type Description
    List<Mesh>

    Methods

    GetBoneByMeshIndex(int)

    Gets the bone information by the mesh index.

    Declaration
    public virtual Bone GetBoneByMeshIndex(int meshIndex)
    Parameters
    Type Name Description
    int meshIndex

    The mesh index.

    Returns
    Type Description
    Bone

    The bone.

    ThrowRefreshEvent()

    Throws a refresh event.

    Declaration
    protected virtual void ThrowRefreshEvent()

    Events

    Refreshed

    Refresh event.

    Declaration
    public event EventHandler Refreshed
    Event Type
    Type Description
    EventHandler

    Implements

    IDependencyObject

    Extension Methods

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