Get Result From Curve

Playable
Both Server and Client
Both Mobile and PC

Interpolate according to the curve

Declaration

func GetResultFromCurve(valueType Type, srcValue object, destVal object, curve BezierCurve, samplePoint float) float
go

Parameters

Input

Name Type Description
Value Type Type Value Type
Source Value Object Starting value
Destination Value Object Target value
Curve BezierCurve curve
Sample Point Float Sampling point, value range [0,1]

Return

Type Description
Float Result