Show / Hide Table of Contents

Class ModelCombiner

Combines Daggerfall model data.

Inheritance
Object
ModelCombiner
Namespace: DaggerfallWorkshop.Utility
Assembly: Assembly-CSharp.dll
Syntax
public class ModelCombiner

Constructors

| Improve this Doc View Source

ModelCombiner()

Constructor.

Declaration
public ModelCombiner()

Properties

| Improve this Doc View Source

IsSealed

A sealed builder cannot be added to.

Declaration
public bool IsSealed { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

VertexCount

Gets current vertex count of builder.

Declaration
public int VertexCount { get; }
Property Value
Type Description
Int32

Methods

| Improve this Doc View Source

Add(ref ModelData, Matrix4x4)

Adds model data to combiner.

Declaration
public void Add(ref ModelData modelData, Matrix4x4 matrix)
Parameters
Type Name Description
ModelData modelData

Model data to add.

Matrix4x4 matrix

Transform to apply.

| Improve this Doc View Source

Add(ModelCombiner, Matrix4x4)

Adds another ModelCombiner to this one.

Declaration
public void Add(ModelCombiner other, Matrix4x4 matrix)
Parameters
Type Name Description
ModelCombiner other

Other ModelCombiner.

Matrix4x4 matrix

Transform to apply

| Improve this Doc View Source

Apply()

Apply all model combines and seal builder.

Declaration
public void Apply()
| Improve this Doc View Source

GetCombinedModel(out ModelCombiner.CombinedModel)

Gets combined model data created by Apply().

Declaration
public bool GetCombinedModel(out ModelCombiner.CombinedModel combinedModelOut)
Parameters
Type Name Description
ModelCombiner.CombinedModel combinedModelOut

Combined model data out.

Returns
Type Description
Boolean

True if successful.

| Improve this Doc View Source

NewCombiner()

Starts a new combiner.

Declaration
public void NewCombiner()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX