Skip to content

format

typescript
PSCurve.Reset(mode, scalar, curve_begin_value, curve_end_value)

class: PSCurve

description

Reset the curve.

parameter

param_nametypedescription
modePSCurveModeThe mode for calculating the minimum and maximum values of the curve.
scalarnumberThe maximum value constant.
curve_begin_valuenumberThe value of the first keyframe of the curve.
curve_end_valuenumberThe value of the last keyframe of the curve.

reture

typedescription
Reset(PSCurveMode

code example