Class AnimatedModel
- Namespace
- OmegaEngine.Graphics.Renderables
- Assembly
- OmegaEngine.dll
A mesh-based model with frame-hierarchy animation that can be rendered by the engine
public class AnimatedModel : PositionableRenderable, IDisposable, IPositionable
- Inheritance
-
AnimatedModel
- Implements
- Inherited Members
- Extension Methods
Constructors
AnimatedModel(XAnimatedMesh)
Creates a new animated model based upon a cached animated mesh, using its internal material data if available
public AnimatedModel(XAnimatedMesh mesh)
Parameters
mesh
XAnimatedMeshThe animated mesh to use for rendering
Fields
Materials
An array of materials used to render this mesh
public readonly XMaterial[] Materials
Field Value
Properties
NumberSubsets
The numbers of subsets in this model
public int NumberSubsets { get; protected set; }
Property Value
Methods
OnDispose()
Hook that is called when the object needs to dispose its internal resources.
protected override void OnDispose()