IStatInstGroup

Structure to pass vegetation group properties.

C++
struct IStatInstGroup {
  enum EPlayerHideable {
    ePlayerHideable_None = 0,
    ePlayerHideable_High,
    ePlayerHideable_Mid,
    ePlayerHideable_Low,
    ePlayerHideable_COUNT
  };
  _smart_ptr pStatObj;
  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;
};
File

I3DEngine.h

IStatInstGroup::EPlayerHideable Enumeration
C++
enum EPlayerHideable {
  ePlayerHideable_None = 0,
  ePlayerHideable_High,
  ePlayerHideable_Mid,
  ePlayerHideable_Low,
  ePlayerHideable_COUNT
};
File

I3DEngine.h

IStatInstGroup::bAlignToTerrain Data Member
C++
bool bAlignToTerrain;
IStatInstGroup::bAllowIndoor Data Member
C++
bool bAllowIndoor;
IStatInstGroup::bAutoMerged Data Member
C++
bool bAutoMerged;
IStatInstGroup::bHideability Data Member
C++
bool bHideability;
IStatInstGroup::bHideabilitySecondary Data Member
C++
bool bHideabilitySecondary;
IStatInstGroup::bPickable Data Member
C++
bool bPickable;
IStatInstGroup::bPrecShadow Data Member
C++
bool bPrecShadow;
IStatInstGroup::bRandomRotation Data Member
C++
bool bRandomRotation;
IStatInstGroup::bRecvShadow Data Member
C++
bool bRecvShadow;
IStatInstGroup::bUseAlphaBlending Data Member
C++
bool bUseAlphaBlending;
IStatInstGroup::bUseSprites Data Member
C++
bool bUseSprites;
IStatInstGroup::bUseTerrainColor Data Member
C++
bool bUseTerrainColor;
IStatInstGroup::fAirResistance Data Member
C++
float fAirResistance;
IStatInstGroup::fBending Data Member
C++
float fBending;
IStatInstGroup::fBrightness Data Member
C++
float fBrightness;
IStatInstGroup::fDamping Data Member
C++
float fDamping;
IStatInstGroup::fDensity Data Member
C++
float fDensity;
IStatInstGroup::fElevationMax Data Member
C++
float fElevationMax;
IStatInstGroup::fElevationMin Data Member
C++
float fElevationMin;
IStatInstGroup::fLodDistRatio Data Member
C++
float fLodDistRatio;
IStatInstGroup::fMaxViewDistRatio Data Member
C++
float fMaxViewDistRatio;
IStatInstGroup::fShadowDistRatio Data Member
C++
float fShadowDistRatio;
IStatInstGroup::fSize Data Member
C++
float fSize;
IStatInstGroup::fSizeVar Data Member
C++
float fSizeVar;
IStatInstGroup::fSlopeMax Data Member
C++
float fSlopeMax;
IStatInstGroup::fSlopeMin Data Member
C++
float fSlopeMin;
IStatInstGroup::fSpriteDistRatio Data Member
C++
float fSpriteDistRatio;
IStatInstGroup::fStiffness Data Member
C++
float fStiffness;
IStatInstGroup::fVariance Data Member
C++
float fVariance;
IStatInstGroup::fVegRadius Data Member
C++
float fVegRadius;
IStatInstGroup::fVegRadiusHor Data Member
C++
float fVegRadiusHor;
IStatInstGroup::fVegRadiusVert Data Member
C++
float fVegRadiusVert;
IStatInstGroup::m_dwRndFlags Data Member
C++
int m_dwRndFlags;
Description

Flags similar to entity render flags.

IStatInstGroup::minConfigSpec Data Member
C++
ESystemConfigSpec minConfigSpec;
Description

Minimal configuration spec for this vegetation group.

IStatInstGroup::nCastShadowMinSpec Data Member
C++
uint8 nCastShadowMinSpec;
Description

bool bCastShadow;

IStatInstGroup::nMaterialLayers Data Member
C++
uint8 nMaterialLayers;
Description

Material layers bitmask -> which layers are active.

IStatInstGroup::nPlayerHideable Data Member
C++
int nPlayerHideable;
IStatInstGroup::nTexturesAreStreamedIn Data Member
C++
uint8 nTexturesAreStreamedIn;
Description

Textures Are Streamed In.

IStatInstGroup::pMaterial Data Member
C++
_smart_ptr pMaterial;
Description

Override material for this instance group.

IStatInstGroup::pStatObj Data Member
C++
_smart_ptr pStatObj;
IStatInstGroup::szFileName Data Member
C++
char szFileName[256];
IStatInstGroup::IStatInstGroup Constructor
C++
IStatInstGroup();