22 Vector3 v =
new(cellFace.X + 0.5f, cellFace.Y + 0.5f, cellFace.Z + 0.5f);
25 m_glowPoint.Up = mountingFace < 4 ? Vector3.UnitY :
Vector3.
UnitX;
28 m_glowPoint.Size = 0.0324f;
29 m_glowPoint.FarSize = 0.0324f;
30 m_glowPoint.FarDistance = 0f;
int CalculateHighInputsCount()
static bool IsSignalHigh(float voltage)
ReadOnlyList< CellFace > CellFaces
static readonly Color[] LedColors
static int GetMountingFace(int data)
static int GetColor(int data)
override void OnRemoved()
SubsystemGlow m_subsystemGlow
LedElectricElement(SubsystemElectricity subsystemElectricity, CellFace cellFace) override void OnAdded()
MountedElectricElement(SubsystemElectricity subsystemElectricity, CellFace cellFace)
SubsystemTerrain SubsystemTerrain
virtual int GetCellValue(int x, int y, int z)
static int ExtractData(int value)
static Vector3 Cross(Vector3 v1, Vector3 v2)
static readonly Vector3 UnitX
static Vector3 FaceToVector3(int face)