|
| | MotionDetectorElectricElement (SubsystemElectricity subsystemElectricity, CellFace cellFace) |
| override float | GetOutputVoltage (int face) |
| override bool | Simulate () |
| float | CalculateMotionVoltage () |
| float | TestPoint (Vector3 p) |
| | MountedElectricElement (SubsystemElectricity subsystemElectricity, CellFace cellFace) |
| override void | OnNeighborBlockChanged (CellFace cellFace, int neighborX, int neighborY, int neighborZ) |
| | ElectricElement (SubsystemElectricity subsystemElectricity, IEnumerable< CellFace > cellFaces) |
| | ElectricElement (SubsystemElectricity subsystemElectricity, CellFace cellFace) |
| virtual void | OnAdded () |
| virtual void | OnRemoved () |
| virtual bool | OnInteract (TerrainRaycastResult raycastResult, ComponentMiner componentMiner) |
| virtual void | OnCollide (CellFace cellFace, float velocity, ComponentBody componentBody) |
| virtual void | OnHitByProjectile (CellFace cellFace, WorldItem worldItem) |
| virtual void | OnConnectionsChanged () |
| int | CalculateHighInputsCount () |
◆ MotionDetectorElectricElement()
◆ CalculateMotionVoltage()
| float Game.MotionDetectorElectricElement.CalculateMotionVoltage |
( |
| ) |
|
◆ GetOutputVoltage()
| override float Game.MotionDetectorElectricElement.GetOutputVoltage |
( |
int | face | ) |
|
|
virtual |
◆ Simulate()
| override bool Game.MotionDetectorElectricElement.Simulate |
( |
| ) |
|
|
virtual |
◆ TestPoint()
| float Game.MotionDetectorElectricElement.TestPoint |
( |
Vector3 | p | ) |
|
◆ m_bodies
| DynamicArray<ComponentBody> Game.MotionDetectorElectricElement.m_bodies = [] |
◆ m_center
| Vector3 Game.MotionDetectorElectricElement.m_center |
◆ m_corner1
| Vector2 Game.MotionDetectorElectricElement.m_corner1 |
◆ m_corner2
| Vector2 Game.MotionDetectorElectricElement.m_corner2 |
◆ m_direction
| Vector3 Game.MotionDetectorElectricElement.m_direction |
◆ m_pollingPeriod
| const float Game.MotionDetectorElectricElement.m_pollingPeriod = 0.25f |
|
static |
◆ m_range
| const float Game.MotionDetectorElectricElement.m_range = 8f |
|
static |
◆ m_speedThreshold
| const float Game.MotionDetectorElectricElement.m_speedThreshold = 0.25f |
|
static |
◆ m_subsystemBodies
◆ m_subsystemMovingBlocks
◆ m_subsystemPickables
◆ m_subsystemProjectiles
◆ m_voltage
| float Game.MotionDetectorElectricElement.m_voltage |
该类的文档由以下文件生成: