Table of Contents

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 XAnimatedMesh

The animated mesh to use for rendering

Fields

Materials

An array of materials used to render this mesh

public readonly XMaterial[] Materials

Field Value

XMaterial[]

Properties

NumberSubsets

The numbers of subsets in this model

public int NumberSubsets { get; protected set; }

Property Value

int

Methods

OnDispose()

Hook that is called when the object needs to dispose its internal resources.

protected override void OnDispose()