Table of Contents

Class GameZ

Namespace
Mech3DotNet.Zbd
Assembly
Mech3DotNet.dll

GameZ data.

See Read(string, GameType) for reading a gamez.zbd file.

public class GameZ : IWritable
Inheritance
GameZ
Implements
Inherited Members

Constructors

GameZ(GameType, List<Texture>, List<Material>, List<Model>, List<Node>, GameZMetadata)

public GameZ(GameType gameType, List<Texture> textures, List<Material> materials, List<Model> models, List<Node> nodes, GameZMetadata metadata)

Parameters

gameType GameType
textures List<Texture>
materials List<Material>
models List<Model>
nodes List<Node>
metadata GameZMetadata

Fields

gameType

public GameType gameType

Field Value

GameType

materials

public List<Material> materials

Field Value

List<Material>

metadata

public GameZMetadata metadata

Field Value

GameZMetadata

models

public List<Model> models

Field Value

List<Model>

nodes

public List<Node> nodes

Field Value

List<Node>

textures

public List<Texture> textures

Field Value

List<Texture>

Methods

Read(string, GameType)

Read a gamez.zbd file from the specified path.

public static GameZ Read(string path, GameType gameType)

Parameters

path string
gameType GameType

Returns

GameZ

Write(string)

Write a gamez.zbd file to the specified path.

public void Write(string path)

Parameters

path string