Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE3:SplineComponent (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Component >> ActorComponent >> PrimitiveComponent >> SplineComponent
Package: 
Engine


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]

native function Object.Vector GetLocationAtDistanceAlongSpline (float Distance) const

Given a distance along the length of this spline, return the point in space where this puts you

GetSplineLength[edit]

native function float GetSplineLength () const

Returns total length along this spline

GetTangentAtDistanceAlongSpline[edit]

native function Object.Vector GetTangentAtDistanceAlongSpline (float Distance) const

Given a distance along the length of this spline, return the direction of the spline there. Note, result is non-unit length.

UpdateSplineCurviness[edit]

native function UpdateSplineCurviness ()

This will update the spline curviness value *

UpdateSplineReparamTable[edit]

native function UpdateSplineReparamTable ()

Update the SplineReparamTable