You are here: Start » AVL.NET » AVS.LerpSegments3D Method

AVS.LerpSegments3D Method

Linearly interpolates between two segments in 3D.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void LerpSegments3D
(
	AvlNet.Segment3D inSegment0,
	AvlNet.Segment3D inSegment1,
	float inLambda,
	out AvlNet.Segment3D outSegment3D
)

Parameters

Name Type Range Default Description
inSegment0AvlNet.Segment3D
inSegment1AvlNet.Segment3D
inLambdafloat<-INF, INF>0.5fInterpolation between the input segments where 0.0 value is equal to inSegment0 and 1.0 to inSegment. Default value: 0.5f.
outSegment3DAvlNet.Segment3D

See also