CBaseModelEntity
Interface CBaseModelEntity
Namespace: SwiftlyS2.Shared.SchemaDefinitions
Assembly: SwiftlyS2.CS2.dll
public interface CBaseModelEntity : CBaseEntity, CEntityInstance, IEquatable<CEntityInstance>, ISchemaClass<CEntityInstance>, ISchemaClass<CBaseEntity>, ISchemaClass<CBaseModelEntity>, ISchemaField, ISchemaClass, INativeHandleImplements
- CBaseEntity
- CEntityInstance
- IEquatable<CEntityInstance>
- ISchemaClass<CEntityInstance>
- ISchemaClass<CBaseEntity>
- ISchemaClass<CBaseModelEntity>
- ISchemaField
- ISchemaClass
- INativeHandle
Properties
AllowFadeInView
ref bool AllowFadeInView { get; }Property Value
BodyGroupChoices
SchemaUntypedField BodyGroupChoices { get; }Property Value
CHitboxComponent
CHitboxComponent CHitboxComponent { get; }Property Value
CRenderComponent
CRenderComponent? CRenderComponent { get; }Property Value
ChoreoComponent
CChoreoComponent? ChoreoComponent { get; }Property Value
Collision
CCollisionProperty Collision { get; }Property Value
DestructiblePartInitialStateDestructed0
ref HitGroup_t DestructiblePartInitialStateDestructed0 { get; }Property Value
DestructiblePartInitialStateDestructed0_GenerateBreakpieces
ref bool DestructiblePartInitialStateDestructed0_GenerateBreakpieces { get; }Property Value
DestructiblePartInitialStateDestructed0_PartIndex
ref int DestructiblePartInitialStateDestructed0_PartIndex { get; }Property Value
DestructiblePartInitialStateDestructed1
ref HitGroup_t DestructiblePartInitialStateDestructed1 { get; }Property Value
DestructiblePartInitialStateDestructed1_GenerateBreakpieces
ref bool DestructiblePartInitialStateDestructed1_GenerateBreakpieces { get; }Property Value
DestructiblePartInitialStateDestructed1_PartIndex
ref int DestructiblePartInitialStateDestructed1_PartIndex { get; }Property Value
DestructiblePartInitialStateDestructed2
ref HitGroup_t DestructiblePartInitialStateDestructed2 { get; }Property Value
DestructiblePartInitialStateDestructed2_GenerateBreakpieces
ref bool DestructiblePartInitialStateDestructed2_GenerateBreakpieces { get; }Property Value
DestructiblePartInitialStateDestructed2_PartIndex
ref int DestructiblePartInitialStateDestructed2_PartIndex { get; }Property Value
DestructiblePartInitialStateDestructed3
ref HitGroup_t DestructiblePartInitialStateDestructed3 { get; }Property Value
DestructiblePartInitialStateDestructed3_GenerateBreakpieces
ref bool DestructiblePartInitialStateDestructed3_GenerateBreakpieces { get; }Property Value
DestructiblePartInitialStateDestructed3_PartIndex
ref int DestructiblePartInitialStateDestructed3_PartIndex { get; }Property Value
DestructiblePartInitialStateDestructed4
ref HitGroup_t DestructiblePartInitialStateDestructed4 { get; }Property Value
DestructiblePartInitialStateDestructed4_GenerateBreakpieces
ref bool DestructiblePartInitialStateDestructed4_GenerateBreakpieces { 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
NoInterpolate
ref bool NoInterpolate { get; }Property Value
ObjectCulling
ref byte ObjectCulling { get; }Property Value
OnDestructibleHitGroupDamageLevelChanged
SchemaUntypedField OnDestructibleHitGroupDamageLevelChanged { get; }Property Value
OnIgnite
ref 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
ShadowStrength
ref float ShadowStrength { get; }Property Value
ViewOffset
CNetworkViewOffsetVector ViewOffset { get; }Property Value
Methods
CHitboxComponentUpdated()
void CHitboxComponentUpdated()ChoreoComponentUpdated()
void ChoreoComponentUpdated()CollisionUpdated()
void CollisionUpdated()DestructiblePartsSystemComponentUpdated()
void DestructiblePartsSystemComponentUpdated()DisabledHitGroupsUpdated()
void DisabledHitGroupsUpdated()FadeMaxDistUpdated()
void FadeMaxDistUpdated()FadeMinDistUpdated()
void FadeMinDistUpdated()FadeScaleUpdated()
void FadeScaleUpdated()GetMeshGroupMask()
Gets the model meshgroupmask of the entity.
ulong? GetMeshGroupMask()Returns
GetModel()
Gets the model of the entity.
string? GetModel()Returns
GetSkeletonInstance()
Gets the skeletance instance of the entity.
CSkeletonInstance? GetSkeletonInstance()Returns
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()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
SetMeshGroupMask(ulong)
Sets the model meshgroupmask of the entity.
void SetMeshGroupMask(ulong meshGroupMask)Parameters
- meshGroupMask ulong
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.
Thread unsafe, use async variant instead for non-main thread context.
[ThreadUnsafe]
void SetScale(float scale)Parameters
- scale float
SetScaleAsync(float)
Sets the scale of the entity.
Task SetScaleAsync(float scale)Parameters
- scale float
Returns
ShadowStrengthUpdated()
void ShadowStrengthUpdated()ViewOffsetUpdated()
void ViewOffsetUpdated()