KeyFrame
Overview
KeyFrame is a class in Aspose.3D FOSS for Python.
KeyFrame.time represents the timestamp of the keyframe in seconds.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
time | float | Read | Represents the timestamp of the keyframe in seconds |
value | float | Read | Holds the scalar value associated with the keyframe |
interpolation | Interpolation | Read | Specifies the interpolation mode used between keyframes |
tangent_weight_mode | WeightedMode | Read | Defines how tangent weights are applied to the keyframe |
step_mode | StepMode | Read | Indicates whether the keyframe uses step (constant) interpolation |
next_in_tangent | 'Vector2' | Read | Provides the incoming tangent vector for the following segment |
out_tangent | 'Vector2' | Read | Provides the outgoing tangent vector from this keyframe |
out_weight | float | Read | Is the weight applied to the outgoing tangent |
next_in_weight | float | Read | Is the weight applied to the incoming tangent of the next segment |
tension | float | Read | Controls the tightness of the spline at this keyframe |
continuity | float | Read | Adjusts the smoothness of the transition between segments |
bias | float | Read | Shifts the spline curve toward or away from the keyframe |
independent_tangent | bool | Read | Determines if tangents are independent of each other |
flat | bool | Read | Forces the tangent to be flat (zero slope) at this keyframe |
time_independent_tangent | bool | Read | Makes the tangent unaffected by time scaling |
_time | `` | Read | |
_value | `` | Read | |
_interpolation | `` | Read | |
_tangent_weight_mode | `` | Read | |
_step_mode | `` | Read | |
_next_in_tangent | `` | Read | |
_out_tangent | `` | Read | |
_out_weight | `` | Read | |
_next_in_weight | `` | Read | |
_tension | `` | Read | |
_continuity | `` | Read | |
_bias | `` | Read | |
_independent_tangent | `` | Read | |
_flat | `` | Read | |
_time_independent_tangent | `` | Read |
Methods
| Signature | Description |
|---|---|
__init__(curve: 'KeyframeSequence', time: float) |