Click or drag to resize

LightningSplineScriptPopulateSpline Method

Populate a list of spline points from source points

Namespace:  DigitalRuby.ThunderAndLightning
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static void PopulateSpline(
	List<Vector3> splinePoints,
	List<Vector3> sourcePoints,
	int generations,
	float distancePerSegmentHit,
	Camera camera
)

Parameters

splinePoints
Type: System.Collections.GenericListVector3
List to fill with spline points
sourcePoints
Type: System.Collections.GenericListVector3
Source points
generations
Type: SystemInt32
Generations
distancePerSegmentHit
Type: SystemSingle
Distance per segment hint - if non-zero, attempts to maintain this distance between spline points.
camera
Type: Camera
Optional camera
See Also