GL Studio C++ Runtime API
GlsSchematicPolyLineInterconnect::InterconnectVertex Struct Reference

#include <gls_schematic_poly_line_interconnect.h>

Public Member Functions

 InterconnectVertex (const float leftX=0.0f, const float leftY=0.0f, const float rightX=0.0f, const float rightY=0.0f, const float interconnectU=0.0f, const float flowU=0.0f)
 

Public Attributes

float _leftX
 Left side X coord in 2D plane.
 
float _leftY
 Left side Y coord in 2D plane.
 
float _rightX
 Right side X coord in 2D plane.
 
float _rightY
 Right side Y coord in 2D plane.
 
float _interconnectU
 Corresponding U texture coord for interconnect texture.
 
float _flowU
 Corresponding U texture coord for flow texture.
 

Detailed Description

helper struct for storing computed verts for interconnect

Constructor & Destructor Documentation

◆ InterconnectVertex()

InterconnectVertex ( const float  leftX = 0.0f,
const float  leftY = 0.0f,
const float  rightX = 0.0f,
const float  rightY = 0.0f,
const float  interconnectU = 0.0f,
const float  flowU = 0.0f 
)
inline

Constructor

Parameters
leftXLeft side X coord in 2D plane.
leftYLeft side Y coord in 2D plane.
rightXRight side X coord in 2D plane.
rightYRight side Y coord in 2D plane.
interconnectUCorresponding U texture coord for interconnect texture.
flowUCorresponding U texture coord for flow texture.

The documentation for this struct was generated from the following file: