Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
SplineBeamInfo Struct Reference

`#include <splineUtil.h>`

## Public Member Functions
| SplineBeamInfo ()

## Public Attributes
Point3F * | camPos
U32 | numSegments
F32 | width
SplinePatch * | spline
F32 | uvOffset
| Offset for u/v texture coordinates, useful for animating the texture on the spline. More...
F32 | numTexRep
| Stretch for texture. More...
ColorF | color
bool | zeroAlphaStart
| first part of first segment has 0 alpha value More...

## Detailed Description

All the info that is needed to define a spline. This is optional for actually drawing a spline

See also
  drawSplineBeam

## Constructor & Destructor Documentation

SplineBeamInfo | ( |  | ) |
| inline

## Member Data Documentation

Point3F* camPos

ColorF color

U32 numSegments

F32 numTexRep

Stretch for texture.

SplinePatch* spline

F32 uvOffset

Offset for u/v texture coordinates, useful for animating the texture on the spline.

F32 width

bool zeroAlphaStart

first part of first segment has 0 alpha value

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

- graphics/splineUtil.h