Torque2D Reference
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
SplineBeamInfo Struct Reference

#include <splineUtil.h>

Public Member Functions

 SplineBeamInfo ()
 

Public Attributes

Point3FcamPos
 
U32 numSegments
 
F32 width
 
SplinePatchspline
 
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: