You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Switching Color By Tag rebuilds materials for the whole scene to use SU Layer(aka Tag) materials - Also includes texture/uv scaling information of Layer materials. - Layer/Tag override works as in SU - default(Layer0) layer material overriden if component instance overrides Layer #jira UE-130705 #preflight 62bc694ce353c20ac246ae8e #rb benoit.deschenes [CL 20935075 by kerim borchaev in ue5-main branch]
33 lines
791 B
C++
33 lines
791 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "DatasmithSketchUpCommon.h"
|
|
|
|
// SketchUp SDK.
|
|
#include "DatasmithSketchUpSDKBegins.h"
|
|
#include "SketchUpAPI/geometry.h"
|
|
#include "SketchUpAPI/model/uv_helper.h"
|
|
#include "DatasmithSketchUpSDKCeases.h"
|
|
|
|
// Datasmith SDK.
|
|
#include "Containers/Array.h"
|
|
#include "Containers/Set.h"
|
|
#include "Containers/UnrealString.h"
|
|
#include "Templates/SharedPointer.h"
|
|
|
|
|
|
namespace DatasmithSketchUp
|
|
{
|
|
class FDatasmithInstantiatedMesh
|
|
{
|
|
public:
|
|
TSharedPtr<IDatasmithMeshElement> DatasmithMesh;
|
|
TMap<FMaterialIDType, int32> SlotIdForMaterialId;
|
|
TMap<FLayerIDType, int32> SlotIdForLayerId;
|
|
bool bIsUsingInheritedMaterial; // Whether mesh has faces without material assigned(so override/inherited material will apply)
|
|
};
|
|
}
|
|
|
|
|