Structure to pass vegetation group properties.
struct IStatInstGroup { enum EPlayerHideable { ePlayerHideable_None = 0, ePlayerHideable_High, ePlayerHideable_Mid, ePlayerHideable_Low, ePlayerHideable_COUNT }; _smart_ptrpStatObj; char szFileName[256]; bool bHideability; bool bHideabilitySecondary; bool bPickable; float fBending; uint8 nCastShadowMinSpec; bool bRecvShadow; bool bPrecShadow; bool bUseAlphaBlending; float fSpriteDistRatio; float fLodDistRatio; float fShadowDistRatio; float fMaxViewDistRatio; float fBrightness; bool bUseSprites; bool bRandomRotation; bool bAlignToTerrain; bool bUseTerrainColor; bool bAllowIndoor; bool bAutoMerged; float fDensity; float fElevationMax; float fElevationMin; float fSize; float fSizeVar; float fSlopeMax; float fSlopeMin; float fStiffness; float fDamping; float fVariance; float fAirResistance; float fVegRadius; float fVegRadiusVert; float fVegRadiusHor; int nPlayerHideable; ESystemConfigSpec minConfigSpec; _smart_ptr pMaterial; uint8 nMaterialLayers; uint8 nTexturesAreStreamedIn; int m_dwRndFlags; };
I3DEngine.h
enum EPlayerHideable { ePlayerHideable_None = 0, ePlayerHideable_High, ePlayerHideable_Mid, ePlayerHideable_Low, ePlayerHideable_COUNT };
I3DEngine.h
bool bAlignToTerrain;
bool bAllowIndoor;
bool bAutoMerged;
bool bHideability;
bool bHideabilitySecondary;
bool bPickable;
bool bPrecShadow;
bool bRandomRotation;
bool bRecvShadow;
bool bUseAlphaBlending;
bool bUseSprites;
bool bUseTerrainColor;
float fAirResistance;
float fBending;
float fBrightness;
float fDamping;
float fDensity;
float fElevationMax;
float fElevationMin;
float fLodDistRatio;
float fMaxViewDistRatio;
float fShadowDistRatio;
float fSize;
float fSizeVar;
float fSlopeMax;
float fSlopeMin;
float fSpriteDistRatio;
float fStiffness;
float fVariance;
float fVegRadius;
float fVegRadiusHor;
float fVegRadiusVert;
int m_dwRndFlags;
Flags similar to entity render flags.
ESystemConfigSpec minConfigSpec;
Minimal configuration spec for this vegetation group.
uint8 nCastShadowMinSpec;
bool bCastShadow;
uint8 nMaterialLayers;
Material layers bitmask -> which layers are active.
int nPlayerHideable;
uint8 nTexturesAreStreamedIn;
Textures Are Streamed In.
_smart_ptrpMaterial;
Override material for this instance group.
_smart_ptrpStatObj;
char szFileName[256];
IStatInstGroup();