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
)
Public Shared Sub PopulateSpline (
splinePoints As List(Of Vector3),
sourcePoints As List(Of Vector3),
generations As Integer,
distancePerSegmentHit As Single,
camera As Camera
)
public:
static void PopulateSpline(
List<Vector3>^ splinePoints,
List<Vector3>^ sourcePoints,
int generations,
float distancePerSegmentHit,
Camera^ camera
)
static member PopulateSpline :
splinePoints : List<Vector3> *
sourcePoints : List<Vector3> *
generations : int *
distancePerSegmentHit : float32 *
camera : Camera -> unit
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