KeyFrame

Overview

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

KeyFrame and KeyframeSequence classes let developers define animated properties over time with support for multiple interpolation types.

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
timefloatRead/WriteGets or sets the time.
valuefloatRead/WriteGets or sets the value.
interpolationInterpolationRead/WriteGets or sets the interpolation.
tangentWeightModeintRead/WriteGets or sets the tangent weight mode.
stepModeStepModeRead/WriteGets or sets the step mode.
nextInTangentVector2Read/WriteGets or sets the next in tangent.
outTangentVector2Read/WriteGets or sets the out tangent.
outWeightfloatRead/WriteGets or sets the out weight.
nextInWeightfloatRead/WriteGets or sets the next in weight.
tensionfloatRead/WriteGets or sets the tension.
continuityfloatRead/WriteGets or sets the continuity.
biasfloatRead/WriteGets or sets the bias.
independentTangentbooleanRead/WriteGets or sets the independent tangent.
flatbooleanRead/WriteGets or sets the flat.
timeIndependentTangentbooleanRead/WriteGets or sets 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