Property | Type | Description | |
---|---|---|---|
SelectedNodeIndexes | List |
Method | Description | |
---|---|---|
AddTimedNodes ( ) : void | ||
RenderGeometry ( RenderManager cameraInfo ) : void | ||
RenderOverlay ( RenderManager cameraInfo ) : void |
Renders overlays (node selection, segment selection, etc.)
|
|
SetToolMode ( ToolMode mode ) : void | ||
SimulationStep ( ) : void | ||
SwitchManual ( ) : bool | ||
getToolMode ( ) : ToolMode |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
OnToolGUI ( |
||
OnToolUpdate ( ) : void |
Primarily handles click events on hovered nodes/segments
|
Method | Description | |
---|---|---|
AddPrioritySignsToolMode ( NetNode node ) : void | ||
AddSelectedNode ( ushort node ) : void | ||
AddSelectedSegment ( ushort segment ) : void | ||
CalculateNodePositionForSegment ( NetNode node, NetSegment segment ) : Vector3 | ||
CalculateNodePositionForSegment ( NetNode node, int segmentId ) : Vector3 | ||
ClearSelectedNodes ( ) : void | ||
CreateZoneBlocks ( int segment, NetSegment &data, NetInfo info ) : void | ||
DisableManual ( ) : void | ||
DisableTimed ( ) : void | ||
ForwardArrowLightMode ( int segmentId, float lightWidth, bool hasRightSegment, Vector3 screenPos, float pedestrianWidth, float zoom, float lightHeight, |
||
GetHoveredSegment ( |
||
GetNumberOfMainRoads ( ushort nodeId, NetNode &node ) : int | ||
IsMouseOver ( |
||
IsNodeSelected ( ushort node ) : bool | ||
IsPedestrianLightHovered ( |
||
IsSegmentSelected ( ushort segment ) : bool | ||
LaneChangeToolMode ( ) : void | ||
LaneRestrictionsToolMode ( ) : void | ||
LeftArrowLightMode ( int segmentId, float lightWidth, bool hasRightSegment, bool hasForwardSegment, Vector3 screenPos, float pedestrianWidth, float zoom, float lightHeight, |
||
LeftForwardRManualSegmentLightMode ( bool hasLeftSegment, int segmentId, Vector3 screenPos, float lightWidth, float pedestrianWidth, float zoom, float lightHeight, |
||
MakeTex ( int width, int height, Color col ) : |
||
ManualSwitchToolMode ( NetNode &node ) : void | ||
RemoveSelectedNode ( ushort node ) : void | ||
RemoveSelectedSegment ( ushort segment ) : void | ||
RenderCounter ( int segmentId, Vector3 screenPos, float modeWidth, float modeHeight, float zoom, |
||
RenderManualNodeOverlays ( RenderManager cameraInfo ) : void | ||
RenderManualPedestrianLightSwitch ( float zoom, int segmentId, Vector3 screenPos, float lightWidth, |
||
RenderManualSelectionOverlay ( RenderManager cameraInfo ) : void | ||
ResizeGUI ( |
||
RightArrowLightMode ( int segmentId, Vector3 screenPos, float lightWidth, float pedestrianWidth, float zoom, float lightHeight, CustomSegmentLight segmentDict, bool hoveredSegment ) : bool | ||
RightForwardLSegmentLightMode ( int segmentId, Vector3 screenPos, float lightWidth, float pedestrianWidth, float zoom, float lightHeight, bool hasForwardSegment, bool hasLeftSegment, CustomSegmentLight segmentDict, bool hasRightSegment, bool hoveredSegment ) : bool | ||
SetAlpha ( int segmentId, int buttonId ) : void | ||
SimpleManualSegmentLightMode ( int segmentId, Vector3 screenPos, float lightWidth, float pedestrianWidth, float zoom, float lightHeight, CustomSegmentLight segmentDict, bool hoveredSegment ) : bool | ||
SwitchTrafficLightToolMode ( NetNode &node ) : void | ||
TimedLightAddNodeToolMode ( NetNode &node ) : void | ||
TimedLightRemoveNodeToolMode ( NetNode &node ) : void | ||
TimedLightSelectNodeToolMode ( NetNode &node ) : void | ||
VehicleRestrictionsToolMode ( ) : void | ||
_guiCitizens ( ) : void | ||
_guiLaneChange ( ) : void | ||
_guiLaneChangeWindow ( int num ) : void | ||
_guiLaneRestrictions ( ) : void | ||
_guiLaneRestrictionsOneWayWindow ( int num ) : void | ||
_guiLanes ( NetSegment &segment, NetInfo &segmentInfo ) : void |
Displays lane ids over lanes
|
|
_guiManualTrafficLights ( ) : void | ||
_guiNodes ( ) : void |
Displays node ids over nodes
|
|
_guiPrioritySigns ( bool viewOnly ) : void | ||
_guiSegments ( ) : void |
Displays segment ids over segments
|
|
_guiSpeedLimits ( ) : void | ||
_guiSpeedLimitsWindow ( int num ) : void | ||
_guiTimedControlPanel ( int num ) : void | ||
_guiTimedTrafficLights ( ) : void | ||
_guiTimedTrafficLightsNode ( ) : void | ||
_guiTimedTrafficLightsNodeWindow ( int num ) : void | ||
_guiVehicles ( ) : void |
Displays vehicle ids over vehicles
|
|
_renderOverlayDraw ( RenderManager cameraInfo, Bezier3 bezier, Color color ) : void | ||
_renderOverlayDraw ( RenderManager cameraInfo, Color color, Vector3 position, float width, bool alpha ) : void | ||
_renderOverlayLaneChange ( RenderManager cameraInfo ) : void | ||
_renderOverlayLaneRestrictions ( RenderManager cameraInfo ) : void | ||
_renderOverlayManual ( RenderManager cameraInfo ) : void | ||
_renderOverlaySwitch ( RenderManager cameraInfo, bool warning = false ) : void | ||
_renderOverlayTimedSelectNodes ( RenderManager cameraInfo, bool onlySelected = false ) : void | ||
_renderOverlayVehicleRestrictions ( RenderManager cameraInfo ) : void | ||
_switchTrafficLights ( ) : void | ||
calculateSegmentCenterByDir ( ushort segmentId, Vector3>.Dictionary |
||
checkClicked ( ) : bool | ||
determineHoveredElements ( ) : bool | ||
drawForwardLeftLightTexture ( RoadBaseAI state, Rect rect ) : void | ||
drawForwardRightLightTexture ( RoadBaseAI state, Rect rect ) : void | ||
drawLeftLightTexture ( RoadBaseAI state, Rect rect ) : void | ||
drawMainLightTexture ( RoadBaseAI state, Rect rect ) : void | ||
drawRightLightTexture ( RoadBaseAI state, Rect rect ) : void | ||
drawSpeedLimitHandles ( ushort segmentId, bool viewOnly ) : bool | ||
drawStraightLightTexture ( RoadBaseAI state, Rect rect ) : void | ||
drawVehicleRestrictionHandles ( ushort segmentId, bool viewOnly ) : bool | ||
getSegmentNumVehicleLanes ( ushort segmentId, ushort nodeId, int &numDirections ) : int | ||
getSortedVehicleLanes ( ushort segmentId, NetInfo info, ushort nodeId ) : List | ||
getWaitFlowBalanceInfo ( ) : string | ||
makeFlowPolicySlider ( ) : void | ||
showTimedLightIcons ( ) : void | ||
showTooltip ( String text, Vector3 position ) : void |
public RenderGeometry ( RenderManager cameraInfo ) : void | ||
cameraInfo | RenderManager | |
return | void |
public RenderOverlay ( RenderManager cameraInfo ) : void | ||
cameraInfo | RenderManager | |
return | void |
public static SetToolMode ( ToolMode mode ) : void | ||
mode | ToolMode | |
return | void |