Skip to main content

PlatformMeshController.PlatformDetails

A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

A mesh and material swap for one platform, applied by PlatformMeshController on bake and in Awake.

Constructors​

MemberWhat it is
PlatformDetails()Creates a PlatformMeshController.PlatformDetails with default values.

Fields​

MemberWhat it is
bool isAplyingNullMaterialIf true, sets the material to null when no replacement material is given.
bool isAplyingNullMeshIf true, sets the mesh to null when no replacement mesh is given.
Material replacementMaterialThe material to use on this platform.
Mesh replacementMeshThe mesh to use on this platform.
PlatformFlags targetPlatformThe platform this swap is for.

Used in​

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