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
| Name | Type | Access | Description |
|---|---|---|---|
time | float | Read | Gets the time. |
value | float | Read | Gets the value. |
interpolation | Interpolation | Read | Gets the interpolation. |
tangentWeightMode | int | Read | Gets the tangent weight mode. |
stepMode | StepMode | Read | Gets the step mode. |
nextInTangent | Vector2 | Read | Gets the next in tangent. |
outTangent | Vector2 | Read | Gets the out tangent. |
outWeight | float | Read | Gets the out weight. |
nextInWeight | float | Read | Gets the next in weight. |
tension | float | Read | Gets the tension. |
continuity | float | Read | Gets the continuity. |
bias | float | Read | Gets the bias. |
independentTangent | boolean | Read | Gets the independent tangent. |
flat | boolean | Read | Gets the flat. |
timeIndependentTangent | boolean | Read | Gets the time independent tangent. |
Methods
| Signature | Description |
|---|---|
KeyFrame(curve: KeyframeSequence, time: float) | Calls KeyFrame(curve, time) on this KeyFrame instance. |
KeyFrame() | |
getTime() → float | Returns the time. |
setTime(value: float) | Sets the time value. |
getValue() → float | Returns the value. |
setValue(value: float) | Sets the value value. |
getInterpolation() → Interpolation | Returns the interpolation. |
setInterpolation(value: Interpolation) | Sets the interpolation value. |
getTangentWeightMode() → int | Returns the tangent weight mode. |
setTangentWeightMode(value: int) | Sets the tangent weight mode value. |
getStepMode() → StepMode | Returns the step mode. |
setStepMode(value: StepMode) | Sets the step mode value. |
getNextInTangent() → Vector2 | Returns the next in tangent. |
setNextInTangent(value: Vector2) | Sets the next in tangent value. |
getOutTangent() → Vector2 | Returns the out tangent. |
setOutTangent(value: Vector2) | Sets the out tangent value. |
getOutWeight() → float | Returns the out weight. |
setOutWeight(value: float) | Sets the out weight value. |
getNextInWeight() → float | Returns the next in weight. |
setNextInWeight(value: float) | Sets the next in weight value. |
getTension() → float | Returns the tension. |
setTension(value: float) | Sets the tension value. |
getContinuity() → float | Returns the continuity. |
setContinuity(value: float) | Sets the continuity value. |
getBias() → float | Returns the bias. |
setBias(value: float) | Sets the bias value. |
getIndependentTangent() → boolean | Returns the independent tangent. |
setIndependentTangent(value: boolean) | Sets the independent tangent value. |
getFlat() → boolean | Returns the flat. |
setFlat(value: boolean) | Sets the flat value. |
getTimeIndependentTangent() → boolean | Returns the time independent tangent. |
setTimeIndependentTangent(value: boolean) | Sets the time independent tangent value. |