Class PhysicalCompositionComponent
This is used for assigning an innate material/chemical composition to an entity. These aren't materials per se, but rather the materials which "make up" an entity. This also isn't something that should exist simultaneously with MaterialComponent.
Inheritance
System.Object
PhysicalCompositionComponent
Namespace: Content.Shared.Materials
Assembly: Content.Shared.dll
Syntax
public sealed class PhysicalCompositionComponent : Component
Remarks
The reason for duel material/chemical is for the eventual combination of the two systems.
Fields
| Improve this Doc View SourceChemicalComposition
The chemicals that "make up" this entity
Declaration
public Dictionary<string, FixedPoint2> ChemicalComposition
Field Value
Type | Description |
---|---|
Dictionary<System.String, FixedPoint2> |
MaterialComposition
The materials that "make up" this entity
Declaration
public Dictionary<string, int> MaterialComposition
Field Value
Type | Description |
---|---|
Dictionary<System.String, System.Int32> |