Source2Toolkit
SchemaEntityClasses

CBaseModelEntity

CBaseModelEntity

Inheritance: CBaseEntity

Fields

  • m_CRenderComponent CRenderComponent*
  • m_CHitboxComponent CHitboxComponent
  • m_nDestructiblePartInitialStateDestructed0 HitGroup_t
  • m_nDestructiblePartInitialStateDestructed1 HitGroup_t
  • m_nDestructiblePartInitialStateDestructed2 HitGroup_t
  • m_nDestructiblePartInitialStateDestructed3 HitGroup_t
  • m_nDestructiblePartInitialStateDestructed4 HitGroup_t
  • m_nDestructiblePartInitialStateDestructed0_PartIndex int32_t
  • m_nDestructiblePartInitialStateDestructed1_PartIndex int32_t
  • m_nDestructiblePartInitialStateDestructed2_PartIndex int32_t
  • m_nDestructiblePartInitialStateDestructed3_PartIndex int32_t
  • m_nDestructiblePartInitialStateDestructed4_PartIndex int32_t
  • m_pDestructiblePartsSystemComponent CDestructiblePartsComponent*
  • m_flDissolveStartTime float
  • m_OnIgnite [CEntityIOOutput](/docs/schema/Entityio)
  • m_nRenderMode RenderMode_t
  • m_nRenderFX RenderFx_t
  • m_bAllowFadeInView bool
  • m_clrRender Color
  • m_vecRenderAttributes CUtlVector<EntityRenderAttribute_t>
  • m_bRenderToCubemaps bool
  • m_bNoInterpolate bool
  • m_Collision CCollisionProperty
  • m_Glow [CGlowProperty](/docs/schema/entity/classes/Cglowproperty)
  • m_flGlowBackfaceMult float
  • m_fadeMinDist float
  • m_fadeMaxDist float
  • m_flFadeScale float
  • m_flShadowStrength float
  • m_nObjectCulling uint8_t
  • m_vecViewOffset [CNetworkViewOffsetVector](/docs/schema/entity/classes/Cnetworkviewoffsetvector)
  • m_bvDisabledHitGroups uint32_t

Methods

GetModelName()

Get model name.

GetEyePosition()

Get eye position.

SetModel(pszModel)

Set entity model.

Parameters
  • pszModel const char*

FromIndex()

Parameters
  • index.Get()

On this page