Variables
Const CubicSplineQuatValue
CubicSplineQuatValue: {} = makeCubicSplineValueConstructor('cc.CubicSplineQuatValue', Quat, Quat.multiplyScalar, Quat.scaleAndAdd,)
Const CubicSplineVec2Value
CubicSplineVec2Value: {} = makeCubicSplineValueConstructor('cc.CubicSplineVec2Value', Vec2, Vec2.multiplyScalar, Vec2.scaleAndAdd,)
Const CubicSplineVec3Value
CubicSplineVec3Value: {} = makeCubicSplineValueConstructor('cc.CubicSplineVec3Value', Vec3, Vec3.multiplyScalar, Vec3.scaleAndAdd,)
Const CubicSplineVec4Value
CubicSplineVec4Value: {} = makeCubicSplineValueConstructor('cc.CubicSplineVec4Value', Vec4, Vec4.multiplyScalar, Vec4.scaleAndAdd,)
Const InvalidIndex
InvalidIndex: -1 = -1
Const acos
acos: acos = Math.acos
Const backOutIn
backOutIn: (Anonymous function) = _makeOutIn(backIn, backOut)
Const bounceOutIn
bounceOutIn: (Anonymous function) = _makeOutIn(bounceIn, bounceOut)
Const circOutIn
circOutIn: (Anonymous function) = _makeOutIn(circIn, circOut)
Const cos
cos: cos = Math.cos
Const cubicOutIn
cubicOutIn: (Anonymous function) = _makeOutIn(cubicIn, cubicOut)
Const elasticOutIn
elasticOutIn: (Anonymous function) = _makeOutIn(elasticIn, elasticOut)
Const expoOutIn
expoOutIn: (Anonymous function) = _makeOutIn(expoIn, expoOut)
Const max
max: max = Math.max
Const pi
pi: number = Math.PI
Const quadOutIn
quadOutIn: (Anonymous function) = _makeOutIn(quadIn, quadOut)
Const quartOutIn
quartOutIn: (Anonymous function) = _makeOutIn(quartIn, quartOut)
Const quintOutIn
quintOutIn: (Anonymous function) = _makeOutIn(quintIn, quintOut)
Const selectLerpFx
selectLerpFx: (Anonymous function) = (() => {function makeValueTypeLerpFx<T extends ValueType> (constructor: Constructor<T>) {const tempValue = new constructor();return (from: T, to: T, ratio: number) => {// @ts-expect-error Hard to typingconstructor.lerp(tempValue, from, to, ratio);return tempValue;};}function callLerpable (from: ILerpable, to: ILerpable, t: number, dt: number): any {// eslint-disable-next-line @typescript-eslint/no-unsafe-returnreturn from.lerp(to, t, dt);}function makeQuatSlerpFx () {const tempValue = new Quat();return (from: Quat, to: Quat, t: number, dt: number) => Quat.slerp(tempValue, from, to, t);}return (value: any): LerpFunction<any> | undefined => {if (value === null) {return undefined;}if (typeof value === 'number') {return lerp;} else if (typeof value === 'object' && value.constructor) {if (value instanceof Quat) {return makeQuatSlerpFx();} else if (value instanceof ValueType) {return makeValueTypeLerpFx(value.constructor as typeof ValueType);} else if (value.constructor === Number) {return lerp;} else if (isLerpable(value)) {return callLerpable;}}return undefined;};})()
Const sineOutIn
sineOutIn: (Anonymous function) = _makeOutIn(sineIn, sineOut)
Const sqrt
sqrt: sqrt = Math.sqrt
Const tau
tau: number = 2 * pi
表示曲线的目标对象。