Navigation
API > API/Plugins > API/Plugins/InterchangeFactoryNodes > API/Plugins/InterchangeFactoryNodes/UInterchangeStaticMeshFactoryNod-
Description
Get whether to generate the distance field by treating every triangle hit as a front face. This prevents the distance field from being discarded due to the mesh being open, but also lowers distance field ambient occlusion quality.
| Name | GetCustomGenerateDistanceFieldAsIfTwoSided |
| Type | function |
| Header File | /Engine/Plugins/Interchange/Runtime/Source/FactoryNodes/Public/InterchangeStaticMeshFactoryNode.h |
| Include Path | #include "InterchangeStaticMeshFactoryNode.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/FactoryNodes/Private/InterchangeStaticMeshFactoryNode.cpp |
UFUNCTION (BlueprintCallable, Category="Interchange | Node | StaticMesh")
bool GetCustomGenerateDistanceFieldAsIfTwoSided
(
bool & AttributeValue
) const