|
| | SoundGeneratorElectricElement (SubsystemElectricity subsystemElectricity, CellFace cellFace) |
| override bool | Simulate () |
| | RotateableElectricElement (SubsystemElectricity subsystemElectricity, CellFace cellFace) |
| override bool | OnInteract (TerrainRaycastResult raycastResult, ComponentMiner componentMiner) |
| | 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 float | GetOutputVoltage (int face) |
| virtual void | OnAdded () |
| virtual void | OnRemoved () |
| virtual void | OnCollide (CellFace cellFace, float velocity, ComponentBody componentBody) |
| virtual void | OnHitByProjectile (CellFace cellFace, WorldItem worldItem) |
| virtual void | OnConnectionsChanged () |
| int | CalculateHighInputsCount () |
◆ SoundGeneratorElectricElement()
◆ Simulate()
| override bool Game.SoundGeneratorElectricElement.Simulate |
( |
| ) |
|
|
virtual |
◆ m_drums
| string [] Game.SoundGeneratorElectricElement.m_drums |
初始值: = [
"Snare",
"BassDrum",
"ClosedHiHat",
"PedalHiHat",
"OpenHiHat",
"LowTom",
"HighTom",
"CrashCymbal",
"RideCymbal",
"HandClap"
]
在文件 SoundGeneratorElectricElement.cs 第 55 行定义.
◆ m_lastToneInput
| int Game.SoundGeneratorElectricElement.m_lastToneInput |
◆ m_maxOctaves
| int [] Game.SoundGeneratorElectricElement.m_maxOctaves |
初始值: = [
0,
6,
5,
6,
6,
6,
6,
6,
6,
0,
6,
0,
0,
0,
0,
6
]
在文件 SoundGeneratorElectricElement.cs 第 36 行定义.
◆ m_particleSystem
◆ m_playAllowedTime
| double Game.SoundGeneratorElectricElement.m_playAllowedTime |
◆ m_random
| Random Game.SoundGeneratorElectricElement.m_random = new() |
◆ m_subsystemNoise
◆ m_subsystemParticles
◆ m_tones
| string [] Game.SoundGeneratorElectricElement.m_tones |
初始值: = [
"",
"Bell",
"Organ",
"Ping",
"String",
"Trumpet",
"Voice",
"Piano",
"PianoLong",
"Drums",
"Bass",
"",
"",
"",
"",
"Piano"
]
在文件 SoundGeneratorElectricElement.cs 第 17 行定义.
该类的文档由以下文件生成: