Table of Contents

Class AnimMw

Namespace
Mech3DotNet.Zbd
Assembly
Mech3DotNet.dll

MW animation data.

See Read(string) for reading a MW anim.zbd file.

public class AnimMw : IWritable
Inheritance
AnimMw
Implements
Inherited Members

Constructors

AnimMw(Dictionary<string, AnimDef>, AnimMetadata)

public AnimMw(Dictionary<string, AnimDef> animations, AnimMetadata metadata)

Parameters

animations Dictionary<string, AnimDef>
metadata AnimMetadata

Fields

animations

public Dictionary<string, AnimDef> animations

Field Value

Dictionary<string, AnimDef>

metadata

public AnimMetadata metadata

Field Value

AnimMetadata

Methods

Read(string)

Read a MW anim.zbd file from the specified path.

public static AnimMw Read(string path)

Parameters

path string

Returns

AnimMw

ReadAsDict(string)

Read a MW anim.zbd file from the specified path, discarding the manifest.

Without the manifest, the data cannot be written again.

public static Dictionary<string, AnimDef> ReadAsDict(string path)

Parameters

path string

Returns

Dictionary<string, AnimDef>

Write(string)

Write a MW anim.zbd file to the specified path.

public void Write(string path)

Parameters

path string