Files
UnrealEngineUWP/Engine/Source/Programs/Enterprise/Datasmith/DatasmithSketchUpRubyExporter/Private/DatasmithSketchUpMesh.h
kerim borchaev ea07dc6b37 [SketchUp] "Color By Tag"
- 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]
2022-07-04 11:04:35 -04:00

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)
};
}