KeyFrame

Overview

KeyFrame is a class in Aspose.3D FOSS for Java. Inherits from: Serializable.

This class provides 32 methods for working with KeyFrame objects in Java programs. Available methods include: KeyFrame, getBias, getContinuity, getFlat, getIndependentTangent, getInterpolation, getNextInTangent, getNextInWeight, getOutTangent, getOutWeight, getStepMode, getTangentWeightMode, and 19 additional methods. All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: bias, continuity, flat, independentTangent, interpolation, nextInTangent, and 9 more.

Properties

NameTypeAccessDescription
timefloatReadGets the time.
valuefloatReadGets the value.
interpolationInterpolationReadGets the interpolation.
tangentWeightModeintReadGets the tangent weight mode.
stepModeStepModeReadGets the step mode.
nextInTangentVector2ReadGets the next in tangent.
outTangentVector2ReadGets the out tangent.
outWeightfloatReadGets the out weight.
nextInWeightfloatReadGets the next in weight.
tensionfloatReadGets the tension.
continuityfloatReadGets the continuity.
biasfloatReadGets the bias.
independentTangentbooleanReadGets the independent tangent.
flatbooleanReadGets the flat.
timeIndependentTangentbooleanReadGets the time independent tangent.

Methods

SignatureDescription
KeyFrame(curve: KeyframeSequence, time: float)Calls KeyFrame(curve, time) on this KeyFrame instance.
KeyFrame()
getTime()floatReturns the time.
setTime(value: float)Sets the time value.
getValue()floatReturns the value.
setValue(value: float)Sets the value value.
getInterpolation()InterpolationReturns the interpolation.
setInterpolation(value: Interpolation)Sets the interpolation value.
getTangentWeightMode()intReturns the tangent weight mode.
setTangentWeightMode(value: int)Sets the tangent weight mode value.
getStepMode()StepModeReturns the step mode.
setStepMode(value: StepMode)Sets the step mode value.
getNextInTangent()Vector2Returns the next in tangent.
setNextInTangent(value: Vector2)Sets the next in tangent value.
getOutTangent()Vector2Returns the out tangent.
setOutTangent(value: Vector2)Sets the out tangent value.
getOutWeight()floatReturns the out weight.
setOutWeight(value: float)Sets the out weight value.
getNextInWeight()floatReturns the next in weight.
setNextInWeight(value: float)Sets the next in weight value.
getTension()floatReturns the tension.
setTension(value: float)Sets the tension value.
getContinuity()floatReturns the continuity.
setContinuity(value: float)Sets the continuity value.
getBias()floatReturns the bias.
setBias(value: float)Sets the bias value.
getIndependentTangent()booleanReturns the independent tangent.
setIndependentTangent(value: boolean)Sets the independent tangent value.
getFlat()booleanReturns the flat.
setFlat(value: boolean)Sets the flat value.
getTimeIndependentTangent()booleanReturns the time independent tangent.
setTimeIndependentTangent(value: boolean)Sets the time independent tangent value.

See Also

 English