3 #include "InstancedInteriorFloorRenderable.h"
4 #include "UnityCallbacks.h"
15 Rendering::LayerIds::Values layerId,
26 const std::string& renderableId,
28 const float interiorTerrainHeight,
30 const std::vector<m44>& instanceTransforms,
31 const std::string& interiorIdentifier,
32 const std::string& meshName,
37 void SetModelTransform(
const m44& modelToLocalEcefTransform)
override;
39 void SetColor(
const v4& color)
override;
43 void UpdateIndexColor(
int index,
const v4& color)
override;
45 void SetInstanceTransformAtIndex(
int index,
const m44& transform)
override;
47 void AddInstanceTransform(
const m44& transform)
override;
49 void RemoveInstanceTransformAtIndex(
int index)
override;
51 std::string GenerateInstanceId(
int instanceIndex)
const;
53 bool NeedsStencilMirrorDuplicates()
const override {
return false; }
55 void SetVisible(
bool visible);
59 void UpdateTransformAtIndex(
int index);
62 const std::string m_meshName;
63 const std::string m_renderableId;