I'm a doctor, not a mechanic
UE3:SplineComponent (UDK)
Object >> Component >> ActorComponent >> PrimitiveComponent >> SplineComponent |
Contents
- Package:
- Engine
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Properties[edit]
Property group 'SplineComponent'[edit]
bSplineDisabled[edit]
Type: bool
If TRUE, this spline is for whatever reason disabled, and will be drawn in red.
SplineArrowSize[edit]
Type: float
Size of arrow on end of spline. If zero, no arrow drawn
Default value: 60.0
SplineColor[edit]
Type: Object.Color
Color of spline
Default value:
Member | Value |
---|---|
A | 255 |
B | 255 |
G | 0 |
R | 255 |
SplineCurviness[edit]
Type: float
Modifiers: editconst
This is how curvy this spline is. 1.0f is straight and anything below that is curvy! We are doing a simplistic calculate of: vsize(points) / Length Of Spline
SplineDrawRes[edit]
Type: float
Resolution to draw spline at
Default value: 0.1
SplineInfo[edit]
Type: Object.InterpCurveVector
Actual data for spline. Locations and tangents are in world space.
SplineReparamTable[edit]
Type: Object.InterpCurveFloat
Input, distance along curve, output, parameter that puts you there.
Native functions[edit]
GetLocationAtDistanceAlongSpline[edit]
Given a distance along the length of this spline, return the point in space where this puts you
GetSplineLength[edit]
Returns total length along this spline
GetTangentAtDistanceAlongSpline[edit]
Given a distance along the length of this spline, return the direction of the spline there. Note, result is non-unit length.
UpdateSplineCurviness[edit]
This will update the spline curviness value *
UpdateSplineReparamTable[edit]
Update the SplineReparamTable