Torque2D Reference
Loading...
Searching...
No Matches
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.
F32 numTexRep
 Stretch for texture.
ColorF color
bool zeroAlphaStart
 first part of first segment has 0 alpha value

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()

SplineBeamInfo ( )
inline

Member Data Documentation

◆ camPos

Point3F* camPos

◆ color

ColorF color

◆ numSegments

U32 numSegments

◆ numTexRep

F32 numTexRep

Stretch for texture.

◆ spline

SplinePatch* spline

◆ uvOffset

F32 uvOffset

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

◆ width

F32 width

◆ zeroAlphaStart

bool zeroAlphaStart

first part of first segment has 0 alpha value


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