Go to the source code of this file.
◆ Attribute()
◆ DrawDebugShapes()
protected void DrawDebugShapes |
( |
| ) |
|
◆ GetSlot()
vector GetSlot |
( |
int |
index, |
|
|
bool |
sameLine |
|
) |
| |
- Parameters
-
[in] | sameLine | is used by SCR_JunctionPowerPole.GetSlot |
Definition at line 26 of file SCR_PowerPole.c.
◆ GetSlotsCount()
int GetSlotsCount |
( |
bool |
sameLine = true | ) |
|
- Parameters
-
[in] | sameLine | is used by SCR_JunctionPowerPole.GetSlotsCount |
Definition at line 19 of file SCR_PowerPole.c.
◆ SCR_PowerPole()
void SCR_PowerPole |
( |
IEntitySource |
src, |
|
|
IEntity |
parent |
|
) |
| |
◆ TryGetSlot()
vector TryGetSlot |
( |
int |
index, |
|
|
vector |
otherSlot, |
|
|
bool |
sameLine |
|
) |
| |
\Tries to find position of the closest compatible slot.
- Returns
- vector with world origin of the closest compatible slot.
- Parameters
-
[in] | index | is the index of the other slot, this method tries to find the slot under the same index. |
[in] | otherSlot | is the local position of other slot. |
[in] | sameLine | is used by SCR_JunctionPowerPole.TryGetSlot |
Definition at line 40 of file SCR_PowerPole.c.
◆ m_Source
protected IEntitySource m_Source |