SwiftlyS2

CBaseModelEntity

Interface CBaseModelEntity

Namespace: SwiftlyS2.Shared.SchemaDefinitions

Assembly: SwiftlyS2.CS2.dll

public interface CBaseModelEntity : CBaseEntity, CEntityInstance, ISchemaClass<CEntityInstance>, ISchemaClass<CBaseEntity>, ISchemaClass<CBaseModelEntity>, ISchemaField, ISchemaClass, INativeHandle

Implements

Properties

AddDecal

ref int AddDecal { get; }
Property Value

AllowFadeInView

ref bool AllowFadeInView { get; }
Property Value

CHitboxComponent

CHitboxComponent CHitboxComponent { get; }
Property Value

CRenderComponent

CRenderComponent? CRenderComponent { get; }
Property Value

Collision

CCollisionProperty Collision { get; }
Property Value

ConfigEntitiesToPropagateMaterialDecalsTo

ref CUtlVector<CHandle<CBaseModelEntity>> ConfigEntitiesToPropagateMaterialDecalsTo { get; }
Property Value

DecalForwardAxis

ref Vector DecalForwardAxis { get; }
Property Value

DecalMode

ref DecalMode_t DecalMode { get; }
Property Value

DecalPosition

ref Vector DecalPosition { get; }
Property Value

DestructiblePartInitialStateDestructed0

ref HitGroup_t DestructiblePartInitialStateDestructed0 { get; }
Property Value

DestructiblePartInitialStateDestructed0_PartIndex

ref int DestructiblePartInitialStateDestructed0_PartIndex { get; }
Property Value

DestructiblePartInitialStateDestructed1

ref HitGroup_t DestructiblePartInitialStateDestructed1 { get; }
Property Value

DestructiblePartInitialStateDestructed1_PartIndex

ref int DestructiblePartInitialStateDestructed1_PartIndex { get; }
Property Value

DestructiblePartInitialStateDestructed2

ref HitGroup_t DestructiblePartInitialStateDestructed2 { get; }
Property Value

DestructiblePartInitialStateDestructed2_PartIndex

ref int DestructiblePartInitialStateDestructed2_PartIndex { get; }
Property Value

DestructiblePartInitialStateDestructed3

ref HitGroup_t DestructiblePartInitialStateDestructed3 { get; }
Property Value

DestructiblePartInitialStateDestructed3_PartIndex

ref int DestructiblePartInitialStateDestructed3_PartIndex { get; }
Property Value

DestructiblePartInitialStateDestructed4

ref HitGroup_t DestructiblePartInitialStateDestructed4 { get; }
Property Value

DestructiblePartInitialStateDestructed4_PartIndex

ref int DestructiblePartInitialStateDestructed4_PartIndex { get; }
Property Value

DestructiblePartsSystemComponent

CDestructiblePartsComponent? DestructiblePartsSystemComponent { get; }
Property Value

DisabledHitGroups

ISchemaFixedArray<uint> DisabledHitGroups { get; }
Property Value

DissolveStartTime

GameTime_t DissolveStartTime { get; }
Property Value

FadeMaxDist

ref float FadeMaxDist { get; }
Property Value

FadeMinDist

ref float FadeMinDist { get; }
Property Value

FadeScale

ref float FadeScale { get; }
Property Value

Glow

CGlowProperty Glow { get; }
Property Value

GlowBackfaceMult

ref float GlowBackfaceMult { get; }
Property Value

LastDamagePosition

ref Vector LastDamagePosition { get; }
Property Value

LastDamageSourceName

ref CGlobalSymbol LastDamageSourceName { get; }
Property Value

LastHitGroup

ref HitGroup_t LastHitGroup { get; }
Property Value

NoInterpolate

ref bool NoInterpolate { get; }
Property Value

ObjectCulling

ref byte ObjectCulling { get; }
Property Value

OnIgnite

CEntityIOOutput OnIgnite { get; }
Property Value

Render

ref Color Render { get; }
Property Value

RenderAttributes

ref CUtlVector<EntityRenderAttribute_t> RenderAttributes { get; }
Property Value

RenderFX

ref RenderFx_t RenderFX { get; }
Property Value

RenderMode

ref RenderMode_t RenderMode { get; }
Property Value

RenderToCubemaps

ref bool RenderToCubemaps { get; }
Property Value

RequiredDecalMode

ref DecalMode_t RequiredDecalMode { get; }
Property Value

ShadowStrength

ref float ShadowStrength { get; }
Property Value

ViewOffset

CNetworkViewOffsetVector ViewOffset { get; }
Property Value

Methods

AddDecalUpdated()

void AddDecalUpdated()

CHitboxComponentUpdated()

void CHitboxComponentUpdated()

CRenderComponentUpdated()

void CRenderComponentUpdated()

CollisionUpdated()

void CollisionUpdated()

ConfigEntitiesToPropagateMaterialDecalsToUpdated()

void ConfigEntitiesToPropagateMaterialDecalsToUpdated()

DecalForwardAxisUpdated()

void DecalForwardAxisUpdated()

DecalModeUpdated()

void DecalModeUpdated()

DecalPositionUpdated()

void DecalPositionUpdated()

DestructiblePartsSystemComponentUpdated()

void DestructiblePartsSystemComponentUpdated()

DisabledHitGroupsUpdated()

void DisabledHitGroupsUpdated()

FadeMaxDistUpdated()

void FadeMaxDistUpdated()

FadeMinDistUpdated()

void FadeMinDistUpdated()

FadeScaleUpdated()

void FadeScaleUpdated()

GlowBackfaceMultUpdated()

void GlowBackfaceMultUpdated()

GlowUpdated()

void GlowUpdated()

NoInterpolateUpdated()

void NoInterpolateUpdated()

ObjectCullingUpdated()

void ObjectCullingUpdated()

RenderAttributesUpdated()

void RenderAttributesUpdated()

RenderFXUpdated()

void RenderFXUpdated()

RenderModeUpdated()

void RenderModeUpdated()

RenderToCubemapsUpdated()

void RenderToCubemapsUpdated()

RenderUpdated()

void RenderUpdated()

RequiredDecalModeUpdated()

void RequiredDecalModeUpdated()

SetBodygroupByName(string, int)

Sets the bodygroup to the entity.

Thread unsafe, use async variant instead for non-main thread context.

[ThreadUnsafe]
void SetBodygroupByName(string group, int value)
Parameters

SetBodygroupByNameAsync(string, int)

Sets the bodygroup to the entity asynchronously.

Task SetBodygroupByNameAsync(string group, int value)
Parameters
  • group string — The name of the bodygroup to be set.
  • value int — The value to be set for the bodygroup.
Returns

SetModel(string)

Sets the model to the entity.

Thread unsafe, use async variant instead for non-main thread context.

[ThreadUnsafe]
void SetModel(string model)
Parameters
  • model string — The model path to be used.

SetModelAsync(string)

Sets the model to the entity asynchronously.

Task SetModelAsync(string model)
Parameters
  • model string — The model path to be used.
Returns

SetScale(float)

Sets the scale of the entity.

void SetScale(float scale)
Parameters

ShadowStrengthUpdated()

void ShadowStrengthUpdated()

ViewOffsetUpdated()

void ViewOffsetUpdated()

On this page

Interface CBaseModelEntity
Implements
Properties
AddDecal
AllowFadeInView
CHitboxComponent
CRenderComponent
Collision
ConfigEntitiesToPropagateMaterialDecalsTo
DecalForwardAxis
DecalMode
DecalPosition
DestructiblePartInitialStateDestructed0
DestructiblePartInitialStateDestructed0_PartIndex
DestructiblePartInitialStateDestructed1
DestructiblePartInitialStateDestructed1_PartIndex
DestructiblePartInitialStateDestructed2
DestructiblePartInitialStateDestructed2_PartIndex
DestructiblePartInitialStateDestructed3
DestructiblePartInitialStateDestructed3_PartIndex
DestructiblePartInitialStateDestructed4
DestructiblePartInitialStateDestructed4_PartIndex
DestructiblePartsSystemComponent
DisabledHitGroups
DissolveStartTime
FadeMaxDist
FadeMinDist
FadeScale
Glow
GlowBackfaceMult
LastDamagePosition
LastDamageSourceName
LastHitGroup
NoInterpolate
ObjectCulling
OnIgnite
Render
RenderAttributes
RenderFX
RenderMode
RenderToCubemaps
RequiredDecalMode
ShadowStrength
ViewOffset
Methods
AddDecalUpdated()
CHitboxComponentUpdated()
CRenderComponentUpdated()
CollisionUpdated()
ConfigEntitiesToPropagateMaterialDecalsToUpdated()
DecalForwardAxisUpdated()
DecalModeUpdated()
DecalPositionUpdated()
DestructiblePartsSystemComponentUpdated()
DisabledHitGroupsUpdated()
FadeMaxDistUpdated()
FadeMinDistUpdated()
FadeScaleUpdated()
GlowBackfaceMultUpdated()
GlowUpdated()
NoInterpolateUpdated()
ObjectCullingUpdated()
RenderAttributesUpdated()
RenderFXUpdated()
RenderModeUpdated()
RenderToCubemapsUpdated()
RenderUpdated()
RequiredDecalModeUpdated()
SetBodygroupByName(string, int)
SetBodygroupByNameAsync(string, int)
SetModel(string)
SetModelAsync(string)
SetScale(float)
ShadowStrengthUpdated()
ViewOffsetUpdated()