FCurve.LowClamp

Description

Sets or returns the lower-clamping value of the function curve as a Double. If the new clamp value out of range it is clamped within the valid range.

For fcurves connected to parameters the valid clamping range is determined by the Parameter.Min and Parameter.Max values.

For integer function curves all new lowclamp values are rounded down. For example, a low clamp value of 1.5 becomes 1.0.

Examples

VBScript Example

'
'       This example demonstrates how to get an FCurve's low clamping value.
'
set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
dim aValues
aValues = Array(0.00, 5.00, 1.00, 6.00, 2.00, 7.00, 3.00, 8.00, 4.00, 9.00, 5.00, 10.00)
set oFCurve = oCube.PosX.AddFCurve2( aValues )
LogMessage "FCurve low clamp : " & oFCurve.LowClamp
' Outputs:
'INFO : FCurve low clamp : -1.79769313486232E+308

See Also

FCurve.HighClamp Parameter.Min Parameter.Max