Class BaseModel
Base class for 3D models.
Inheritance
BaseModel
      
  Implements
Inherited Members
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 [bounding box refreshed].
Declaration
public bool BoundingBoxRefreshed { get; set; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
  | 
      
MeshCount
Gets the mesh count.
Declaration
public abstract int MeshCount { get; }
  Property Value
| Type | Description | 
|---|---|
| int | 
Meshes
Gets the mesh list.
Declaration
public abstract List<Mesh> Meshes { get; }
  Property Value
| Type | Description | 
|---|---|
| List<Mesh> | 
Methods
GetBoneByMeshIndex(int)
Gets the bone information by 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()
Throw refresh event.
Declaration
protected virtual void ThrowRefreshEvent()
  Events
Refreshed
Refresh event
Declaration
public event EventHandler Refreshed
  Event Type
| Type | Description | 
|---|---|
| EventHandler |