# struct
FSimplygonMaterialChannelConverter
Helper class to convert between Simplygon material channel name to
flatten material property
# Members
Type | Member | Description |
---|---|---|
const TMap<FString, EFlattenMaterialProperties> | MaterialChannelToPropertyMap | No description available. |
# Methods
Method | Description |
---|---|
GetChannelToPropertyMap | Get the raw simplygon channel to flatten material property map |
MaterialChannelToProperty | Convert from simplygon material channel to flatten material property |
MaterialPropertyToChannel | Convert from flatten material property to simplygon material channel |
# GetChannelToPropertyMap
# Syntax
const TMap<FString, EFlattenMaterialProperties> & GetChannelToPropertyMap();
# Parameters
GetChannelToPropertyMap takes no parameters.
Return Type:
TMap<FString, EFlattenMaterialProperties>
# MaterialChannelToProperty
# Syntax
bool MaterialChannelToProperty(const FString &, EFlattenMaterialProperties &);
# Parameters
Type | Name | Description |
---|---|---|
FString | Channel | - Input Simplygon material channel name to convert. |
EFlattenMaterialProperties | OutProperty | - Output flatten material property. |
Return Type:
bool
# MaterialPropertyToChannel
# Syntax
bool MaterialPropertyToChannel(const EFlattenMaterialProperties, FString &);
# Parameters
Type | Name | Description |
---|---|---|
EFlattenMaterialProperties | Property | - Input flatten material property to convert. |
FString | OutChannel | - Output simplygon channel name. |
Return Type:
bool