Skip to main content

MaterialLOD

A class in Root.Township, the global namespace.

A material and LOD level pair, used as a key by StaticObjectCombiner to group renderers when combining meshes.

Constructors​

MemberWhat it is
MaterialLOD(Material material, int level)Creates a MaterialLOD from material and level.

Fields​

MemberWhat it is
int levelThe LOD level.
Material materialThe shared material.

Methods​

MemberWhat it is
override bool Equals(object obj)True when material and level match.
override int GetHashCode()Hash of material and level.

Used in​

Members of other types that take, return or hold a MaterialLOD: