drawCylinderEx function

void drawCylinderEx(
  1. Vector3 startPos,
  2. Vector3 endPos,
  3. double startRadius,
  4. double endRadius,
  5. int sides,
  6. Color color,
)

Draw a cylinder with base at startPos and top at endPos.

Implementation

void drawCylinderEx(
  Vector3 startPos,
  Vector3 endPos,
  double startRadius,
  double endRadius,
  int sides,
  Color color,
) {
  return library.DrawCylinderEx(
    startPos.ref,
    endPos.ref,
    startRadius,
    endRadius,
    sides,
    color.ref,
  );
}