IIndoorMapMaterialFactory (Interface)

Namespace: Wrld.Resources.IndoorMaps

This interface is used to create IIndoorMapMaterials from IndoorMaterialDescriptors; implement it in your own classes to provide customised material creation for Indoor Maps. A default implementation exists in DefaultIndoorMapMaterialFactory.cs.

Methods

IIndoorMapMaterial CreateMaterialFromDescriptor (IndoorMaterialDescriptor descriptor)

Implement this function with logic to produce an IIndoorMapMaterial from the given IndoorMaterialDescriptor. It is called when materials are streamed in for an Indoor Map.

Returns: The IIndoorMapMaterial that you have built.

Argument Type Description
descriptor IndoorMaterialDescriptor The IndoorMaterialDescriptor object which contains a number of material parameters used to build this material.
v0.8.17