Astra Unity 2.6.6
Astra Unity Plugin
Astra.Asset.MaterialVariationLoadJob.MaterialVariationLoadResult Class Reference

Results from loading a material variation More...

Public Member Functions

void LinkWithMeshItem (MeshItem mi)
 Attaches the MaterialVariationItem this represents to the given MeshItem. Creates a new component if it hasn't been loaded. More...
 

Public Attributes

MaterialVariationItem materialVariationItem
 The loaded MaterialVariationItem
 

Detailed Description

Results from loading a material variation

Member Function Documentation

◆ LinkWithMeshItem()

void Astra.Asset.MaterialVariationLoadJob.MaterialVariationLoadResult.LinkWithMeshItem ( MeshItem  mi)
inline

Attaches the MaterialVariationItem this represents to the given MeshItem. Creates a new component if it hasn't been loaded.

Parameters
miMeshItem to attach this MaterialVariationItem to

The documentation for this class was generated from the following file: