Assetifies MeshRoad, Decal Road, and the material slot of GroundCover

Creates a networked and non-networked variant of DECLARE_MATERIALASSET macro
This commit is contained in:
Areloch 2021-01-03 08:58:53 -06:00
parent a0ba345095
commit bf5b26f734
17 changed files with 301 additions and 117 deletions

View file

@ -36,6 +36,8 @@
#include "collision/clippedPolyList.h"
#endif
#include "T3D/assets/MaterialAsset.h"
class Path;
class TerrainBlock;
struct ObjectRenderInst;
@ -237,7 +239,8 @@ protected:
F32 mBreakAngle;
U32 mSegmentsPerBatch;
F32 mTextureLength;
String mMaterialName;
DECLARE_NET_MATERIALASSET(DecalRoad, Material, DecalRoadMask);
U32 mRenderPriority;
// Static ConsoleVars for editor